PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'Net/Socket.php';
mixed Net_Socket::readLine ()
mixed Net_Socket::readLine
Read until either the end of the socket or a newline, whichever comes first. Strips the trailing newline from the returned data.
mixed - the data or a PEAR_Error
Table 47-1. Possible PEAR_Error values
This function can not be called statically.
Net_Socket::read()