Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TlsSocket.EndReceive Method

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll

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.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies