TlsServerSocket.Send Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
Send(Byte[])
Declaration
public int Send(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Send(Byte[], SocketFlags)
Declaration
public int Send(byte[] buffer, SocketFlags socketFlags)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
SocketFlags | socketFlags | A bitwise combination of the SocketFlags values. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Send(Byte[], Int32, SocketFlags)
Sends the specified amount of data to a connected TlsSocket using the supplied flags. Inherited from TlsSocket.
Declaration
public int Send(byte[] buffer, int size, SocketFlags socketFlags)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Int32 | size | The number of bytes to send. |
SocketFlags | socketFlags | A bitwise combination of the SocketFlags values. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Send(Byte[], Int32, Int32)
Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags.| Inherited from TlsSocket.
Declaration
public int Send(byte[] buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Int32 | offset | The position in the data buffer to begin sending data. |
Int32 | size | The number of bytes to send. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Send(ArraySegment<Byte>)
Declaration
public int Send(ArraySegment<byte> buffer)
Parameters
Type | Name | Description |
---|---|---|
ArraySegment<Byte> | buffer | The data to be sent. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Send(Byte[], Int32, Int32, SocketFlags)
Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags. Inherited from TlsSocket.
Declaration
public int Send(byte[] buffer, int offset, int size, SocketFlags socketFlags)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Int32 | offset | The position in the data buffer to begin sending data. |
Int32 | size | The number of bytes to send. |
SocketFlags | socketFlags | A bitwise combination of the SocketFlags values. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |