June 2002
Beginner
759 pages
80h 42m
English
recv
recv socket, $var, len, flags
Receives a message on a socket. It attempts to
receive len bytes of data into variable
var from the specified
socket filehandle. The function returns
the address of the sender, or the undefined value if there’s an
error. varwill grow or shrink to the
length actually read. The function takes the same flags as the
recv(2) system call.