TlsSocket.SendAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
SendAsync(ArraySegment<Byte>)
Sends data to a connected TlsSocket.
Declaration
public async Task<int> SendAsync(ArraySegment<byte> buffer)
Parameters
Type | Name | Description |
---|---|---|
ArraySegment<Byte> | buffer | The data to be sent. |
Returns
Type | Description |
---|---|
Task<Int32> | A Task<TResult> that represents the asynchronous operation. Result of the Task is the number of bytes sent. |