Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

WSARecvFrom

function WSARecvFrom(s: TSocket; lpBuffers: LPWSABUF; dwBufferCount: DWORD; var lpNumberOfBytesRecvd, lpFlags: DWORD; lpFrom: PSockAddr; lpFromlen: PInteger; lpOverlapped: LPWSAOVERLAPPED; lpCompletionRoutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE): Integer; stdcall;
The datagram forms. lpFrom must stay valid until the operation completes, which for an overlapped call is after it returns.