Полезная информация

Programming Perl

Programming PerlSearch this book
Previous: 3.2.118 readlinkChapter 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 readlinkProgramming PerlNext: 3.2.120 redo
3.2.118 readlinkBook Index3.2.120 redo