Receives data from a bound socket, according to specified flags, and places the data in a buffer array, beginning at a specified location in the buffer.
Namespace: GHIElectronics.NETMF.Net.SocketsAssembly: GHIElectronics.NETMF.W5100 (in GHIElectronics.NETMF.W5100.dll) Version: 4.1.9.0 (4.1.9.0)
Syntax
| C# |
|---|
public int Receive( byte[] buffer, int offset, int size, SocketFlags socketFlags ) |
Parameters
- buffer
- Type: array<System..::..Byte>[]()[][]
An array in which the received data is placed.
- offset
- Type: System..::..Int32
The location, relative to the beginning of the buffer array, where the storing of received data is to begin.
- size
- Type: System..::..Int32
The size, in bytes, of the buffer array. If the number of bytes received is greater than the size of the buffer array, the data is truncated so that it fits in the array.
- socketFlags
- Type: GHIElectronics.NETMF.Net.Sockets..::..SocketFlags
Ignored.