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

Programming Perl

Programming PerlSearch this book
Previous: 3.2.118 readlink Chapter 3
Functions
Next: 3.2.120 redo
 

3.2.119 recv

recv 

SOCKET

, 

SCALAR

, 

LEN

, 

FLAGS

This function receives a message on a socket. It attempts to receive LENGTH bytes of data into variable SCALAR from the specified SOCKET filehandle. The function returns the address of the sender, or the undefined value if there's an error. SCALAR will be grown or shrunk to the length actually read. The function takes the same flags as recv (2). See the section "Sockets" in Chapter 6 .


Previous: 3.2.118 readlink Programming Perl Next: 3.2.120 redo
3.2.118 readlink Book Index 3.2.120 redo