SocketAsyncEventArgs in a duplex server environment?
问题 I am learning to use the SocketAsyncEventArgs stuff using the MSDN tutorial. I was just wondering a few things, namely how I could go about implementing the server with full-duplex capabilities. Currently, the MSDN example teaches you to create a server that first listens, then when something is received, to send it back. Only then does the server start listening again. The problem I am having coming up with my own solution is that the SocketAsyncEventArgs object has only one event, Completed