TUDPBlockSocket.RecvBufferFrom
TUDPBlockSocket
function RecvBufferFrom(Buffer: Pointer; Length: Integer): Integer; override;
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.