TlsSocket.EndReceive Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
EndReceive(IAsyncResult)
Ends a pending asynchronous read.
Declaration
public int EndReceive(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | asyncResult | Stores state information for this asynchronous operation as well as any user-defined data. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes received. |
Remarks
The EndReceive method completes a request to accept a connection that was started with the BeginReceive(Byte[], Int32, Int32, SocketFlags, AsyncCallback, Object) method.