There is a Websocket server which is written using the non-blocking Socket. Is it possible, without using poll and select, to handle 10k + connections using only Receive. Like that
start = Socket.Receive(buffer, start, count, SocketFlags.None, out error); if (error != SocketError.Success && error != SocketError.WouldBlock) { throw new Exception(); } What errors does this approach ignore and what is the optimal processing time for a single message (receiving and sending back) with a load of 10k connections at the same time?
Tcp.Receive. This makes it very difficult to understand the question ... - Pavel Mayorov