|  | 
 
 Network FunctionsTable of Contents
checkdnsrr — Check DNS records corresponding to a given Internet host name or IP addresscloselog — Close connection to system loggerdefine_syslog_variables — Initializes all syslog related variablesdns_check_record — Alias of checkdnsrrdns_get_mx — Alias of getmxrrdns_get_record — Fetch DNS Resource Records associated with a hostnamefsockopen — Open Internet or Unix domain socket connectiongethostbyaddr — Get the Internet host name corresponding to a given IP addressgethostbyname — Get the IPv4 address corresponding to a given Internet host namegethostbynamel — Get a list of IPv4 addresses corresponding to a given Internet host
   namegethostname — Gets the host namegetmxrr — Get MX records corresponding to a given Internet host namegetprotobyname — Get protocol number associated with protocol namegetprotobynumber — Get protocol name associated with protocol numbergetservbyname — Get port number associated with an Internet service and protocolgetservbyport — Get Internet service which corresponds to port and protocolheader_register_callback — Call a header functionheader_remove — Remove previously set headersheader — Send a raw HTTP headerheaders_list — Returns a list of response headers sent (or ready to send)headers_sent — Checks if or where headers have been senthttp_response_code — Get or Set the HTTP response codeinet_ntop — Converts a packed internet address to a human readable representationinet_pton — Converts a human readable IP address to its packed in_addr representationip2long — Converts a string containing an (IPv4) Internet Protocol dotted address into a long integerlong2ip — Converts an long integer address into a string in (IPv4) Internet standard dotted formatopenlog — Open connection to system loggerpfsockopen — Open persistent Internet or Unix domain socket connectionsetcookie — Send a cookiesetrawcookie — Send a cookie without urlencoding the cookie valuesocket_get_status — Alias of stream_get_meta_datasocket_set_blocking — Alias of stream_set_blockingsocket_set_timeout — Alias of stream_set_timeoutsyslog — Generate a system log message |