checkdnsrr PHP 3.0

int checkdnsrr(string host[, string type])

 

Checks DNS records corresponding to a given Internet host name or IP address.

closelog PHP 3.0

bool closelog(void)

 

Closes connection to system logger.

define_syslog_variables PHP 3.0

void define_syslog_variables(void)

 

Initializes all syslog-related variables.

fsockopen PHP 3.0

int fsockopen(string hostname, int port[, int errno[, string errstr[, float timeout]]])

 

Opens an Internet or Unix domain socket connection.

gethostbyaddr PHP 3.0

string gethostbyaddr(string ip_address)

 

Gets the Internet hostname corresponding to a given IP address.

gethostbyname PHP 3.0

string gethostbyname(string hostname)

 

Gets the IP address corresponding to a given Internet hostname.

gethostbynamel PHP 3.0

array gethostbynamel(string hostname)

 

Returns a list of IP addresses that a given hostname resolves to.

getmxrr PHP 3.0

int getmxrr(string hostname, array mxhosts[, array weight])

 

Gets MX records corresponding to a given Internet hostname.

getprotobyname PHP 4.0

int getprotobyname(string name)

 

Returns protocol number associated with name as per /etc/protocols.

getprotobynumber PHP 4.0

string getprotobynumber(int proto)

 

Returns protocol name associated with protocol number proto.

getservbyname PHP 4.0

int getservbyname(string service, string protocol)

 

Returns port associated with service; protocol must be "tcp" or "udp".

getservbyport PHP 4.0

string getservbyport(int port, string protocol)

 

Returns service name associated with port; protocol must be "tcp" or "udp".

ip2long PHP 4.0

int ip2long(string ip_address)

 

Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address.

long2ip PHP 4.0

string long2ip(int proper_address)

 

Converts an (IPv4) Internet network address into a string in Internet standard dotted format.

openlog PHP 3.0

bool openlog(string ident, int option, int facility)

 

Opens connection to system logger.

pfsockopen PHP 3.0.7

int pfsockopen(string hostname, int port[, int errno[, string errstr[, float timeout]]])

 

Opens persistent Internet or Unix domain socket connection.

socket_get_status PHP 4.0

array socket_get_status(resource socket_descriptor)

 

Returns an array describing socket status.

socket_set_blocking PHP 4.0

bool socket_set_blocking(resource socket, int mode)

 

Set blocking/non-blocking mode on a socket.

socket_set_timeout PHP 4.0

bool socket_set_timeout(int socket_descriptor, int seconds, int microseconds)

 

Sets timeout on a socket read to seconds plus microseconds.

syslog PHP 3.0

bool syslog(int priority, string message)

 

Generates a system log message.