fprecvfrom function
Receive data from an unconnected socket.
Declaration
function fprecvfrom(s: cint; buf: pointer; len: size_t; flags: cint;
from: psockaddr; fromlen: psocklen): ssize_tDescription
fpRecvFrom receives data in buffer
Buf with maximum
length
Len from socket
S.
Receipt is controlled by options in
Flags. The location pointed
to by
from will be filled with the address from the sender, and
it's length will be stored in
fromlen.
The function returns the number of bytes received, or -1 on error.
AddrLen.Errors
On error, -1 is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
