|
Receives a datagram and stores the source address.
- Parameters
-
socket | Descriptor identifying a bound socket. |
pBuffer | Buffer for the incoming data. |
bufferSize | Length of pBuffer, in bytes. |
flags | Flag specifying the way in which the call is made. |
pSenderAddress | Optional pointer to a buffer in a MFSocketAddress structure that will hold the source address upon return. |
- Returns
- The number of bytes received. If the connection has been gracefully closed, the return value is zero.
|