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

TlsClientSocket.ReceiveAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

ReceiveAsync(ArraySegment<Byte>)

Receives data from a connected TlsSocket. Inherited from TlsSocket.

Declaration
public async Task<int> ReceiveAsync(ArraySegment<byte> buffer)
Parameters
Type Name Description
ArraySegment<Byte> buffer

The storage location for the received data.

Returns
Type Description
Task<Int32>

A Task<TResult> that represents the asynchronous operation. Result of the Task is the number of bytes received.

In This Article
  • ReceiveAsync(ArraySegment<Byte>)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies