Ends a pending asynchronous read.
public int EndReceive(IAsyncResult asyncResult)
Stores state information for this asynchronous operation as well as any user-defined data.
The number of bytes received.
The EndReceive method completes a request to accept a connection that was started with the BeginReceive(Byte, Int32, Int32, SocketFlags, AsyncCallback, Object) method.