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';
string Net_Socket::readIPAddress ()
string Net_Socket::readIPAddress
Reads a IP from the socket. The function expects an integer which will converted to a IP address. This function only works with IPv4 addresses.
string - the data or a PEAR_Error
Table 47-1. Possible PEAR_Error values
This function can not be called statically.
Net_Socket::read() , Net_Socket::readByte() , Net_Socket::readWord() , Net_Socket::readInt() , Net_Socket::readString()