Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: readpipeChapter 5
Function Reference
Next: Reference: redo
 

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. var will grow or shrink to the length actually read. The function takes the same flags as the recv(2) system call.


Previous: Reference: readpipePerl in a NutshellNext: Reference: redo
Reference: readpipeBook IndexReference: redo