Receives all of the data currently available from an unbound socket, according to specified flags, and places the data in a buffer array. This method also gets the data's endpoint.
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 ReceiveFrom( byte[] buffer, SocketFlags socketFlags, ref EndPoint remoteEP ) |
Parameters
- buffer
- Type: array<System..::..Byte>[]()[][]
An array in which the received data is placed.
- socketFlags
- Type: GHIElectronics.NETMF.Net.Sockets..::..SocketFlags
Ignored.
- remoteEP
- Type: GHIElectronics.NETMF.Net..::..EndPoint%
An EndPoint object that, when this method returns a value, specifies the address of the socket from which the data was received.