TBlockSocket.RecvBufferFrom
TBlockSocket

function RecvBufferFrom(Buffer: Pointer; Length: Integer): Integer; virtual;

Unit
blcksock

Description
Receives first waiting datagram to allocated buffer. If there is no waiting one, then waits until one comes. Returns length of datagram stored in BUFFER. If length exceeds buffer datagram is truncated.

After this RemoteSin structure contains information about sender of UDP packet.


See also:
RecvBuffer, RemoteSin, SendBufferTo