ISocket.Send Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9313)
Send(Byte[], Int32, Int32, SocketFlags)
Sends the specified amount of data to the connected ISocket starting at the indicated location in the data and using the supplied flags.
Declaration
int Send(byte[] buffer, int offset, int count, 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 | count | The number of bytes to send. |
| SocketFlags | socketFlags | A bitwise combination of the SocketFlags values. |
Returns
| Type | Description |
|---|---|
| Int32 | The number of bytes sent. |