public SocketChannel Accept() { //TODO: Investigate. If we don't wait 1ms we get intermittent test failure in TcpListenerSpec. return _socket.Poll(1, SelectMode.SelectRead) ? new SocketChannel(_socket.Accept()) {_connected = true} : null; }