Sporadic TCP connection failures (WSAEHOSTUNREACH)
问题 On a local gigabit network, I have an application using a single TCP server and many clients. Each client pings the server every 30 seconds, by opening a TCP connection, sending it a status message, and closing. The server is set up using SocketAsyncEventArgs very similarly to the example shown HERE (omitted for brevity) The clients initiate the connection using a TcpClient. Relevant section of client code: using (TcpClient client = new TcpClient()) { IAsyncResult ar = client.BeginConnect