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 48-1. Possible PEAR_Error values
This function can not be called statically.
Net_Socket::read()