Ends a pending asynchronous read.
            
    Namespace: 
   Rebex.Net
    Assembly:
   Rebex.Networking (in Rebex.Networking.dll)
Syntax
| Visual Basic | 
|---|
Public Function EndReceive ( _ asyncResult As IAsyncResult _ ) As Integer  | 
| C# | 
|---|
public int EndReceive( IAsyncResult asyncResult )  | 
Parameters
- asyncResult
 - Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user-defined data. 
Return Value
The number of bytes received.Implements
ISocketExt..::..EndReceive(IAsyncResult)
Remarks
            The EndReceive method completes a request to accept a connection that was started with the BeginReceive(array<Byte>[]()[][], Int32, Int32, SocketFlags, AsyncCallback, Object) method.