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
Tableau 48-1. Valeurs PEAR_Error possibles
Cette fonction ne peut pas être appelée de façon statique.
Net_Socket::read()