int readCount; byte[] buffer = new byte[128]; SocketError socketError; TcpClient tcpClient = tcpListener.AcceptTcpClient(); tcpClient.Client.ReceiveTimeout = 500; /
This might happen if the remote host is no longer connected to the socket. Is there a timeout on the other side of the connection which might've been exceeded?