start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: readpipe Chapter 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: readpipe Perl in a Nutshell Next: Reference: redo
Reference: readpipe Book Index Reference: redo