TBlockSocket.RecvBufferFrom
TBlockSocket     

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

Unit
blcksock

Description
Note: This is low-lever receive function. You must be sure if data is waiting for read before call this function for avoid deadlock!

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