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::gets (integer $size)
mixed Net_Socket::gets
Returns a string containing data from the socket connection
integer $size - maximum number of chars to recieve
string - the data or a PEAR_Error
Table 47-1. Possible PEAR_Error values
This function can not be called statically.
Net_Socket::read()