Sends the specified amount of data to the connected ISocket starting at the indicated location in the data and using the supplied flags.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Function Send ( _ buffer As Byte(), _ offset As Integer, _ count As Integer, _ socketFlags As SocketFlags _ ) As Integer |
C# |
---|
int Send( byte[] buffer, int offset, int count, SocketFlags socketFlags ) |
Parameters
- buffer
- Type: array<System..::..Byte>[]()[][]
The data to be sent.
- offset
- Type: System..::..Int32
The position in the data buffer to begin sending data.
- count
- Type: System..::..Int32
The number of bytes to send.
- socketFlags
- Type: System.Net.Sockets..::..SocketFlags
A bitwise combination of the SocketFlags values.