Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

recvfrom

function recvfrom(s: TSocket; var buf; len, flags: Integer; from: PSockAddr; fromlen: PInteger): Integer; stdcall; external ws2_32 name 'recvfrom';
from/fromlen may both be nil when the sender's address is not wanted. A datagram too large for buf is truncated and the call fails WSAEMSGSIZE.