<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.network.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'ref.network.php',
    1 => 'Network Functions',
    2 => 'Network Functions',
  ),
  'up' => 
  array (
    0 => 'book.network.php',
    1 => 'Network',
  ),
  'prev' => 
  array (
    0 => 'network.constants.php',
    1 => 'Predefined Constants',
  ),
  'next' => 
  array (
    0 => 'function.checkdnsrr.php',
    1 => 'checkdnsrr',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/network/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.network.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.network" class="reference">
 <h1 class="title">Network Functions</h1>

 




































































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.checkdnsrr.php">checkdnsrr</a> — Check DNS records corresponding to a given Internet host name or IP address</li><li><a href="function.closelog.php">closelog</a> — Close connection to system logger</li><li><a href="function.dns-check-record.php">dns_check_record</a> — Alias of checkdnsrr</li><li><a href="function.dns-get-mx.php">dns_get_mx</a> — Alias of getmxrr</li><li><a href="function.dns-get-record.php">dns_get_record</a> — Fetch DNS Resource Records associated with a hostname</li><li><a href="function.fsockopen.php">fsockopen</a> — Open Internet or Unix domain socket connection</li><li><a href="function.gethostbyaddr.php">gethostbyaddr</a> — Get the Internet host name corresponding to a given IP address</li><li><a href="function.gethostbyname.php">gethostbyname</a> — Get the IPv4 address corresponding to a given Internet host name</li><li><a href="function.gethostbynamel.php">gethostbynamel</a> — Get a list of IPv4 addresses corresponding to a given Internet host
   name</li><li><a href="function.gethostname.php">gethostname</a> — Gets the host name</li><li><a href="function.getmxrr.php">getmxrr</a> — Get MX records corresponding to a given Internet host name</li><li><a href="function.getprotobyname.php">getprotobyname</a> — Get protocol number associated with protocol name</li><li><a href="function.getprotobynumber.php">getprotobynumber</a> — Get protocol name associated with protocol number</li><li><a href="function.getservbyname.php">getservbyname</a> — Get port number associated with an Internet service and protocol</li><li><a href="function.getservbyport.php">getservbyport</a> — Get Internet service which corresponds to port and protocol</li><li><a href="function.header.php">header</a> — Send a raw HTTP header</li><li><a href="function.header-register-callback.php">header_register_callback</a> — Call a header function</li><li><a href="function.header-remove.php">header_remove</a> — Remove previously set headers</li><li><a href="function.headers-list.php">headers_list</a> — Returns a list of response headers sent (or ready to send)</li><li><a href="function.headers-sent.php">headers_sent</a> — Checks if or where headers have been sent</li><li><a href="function.http-clear-last-response-headers.php">http_clear_last_response_headers</a> — Clears the stored HTTP response headers</li><li><a href="function.http-get-last-response-headers.php">http_get_last_response_headers</a> — Retrieve last HTTP response headers</li><li><a href="function.http-response-code.php">http_response_code</a> — Get or Set the HTTP response code</li><li><a href="function.inet-ntop.php">inet_ntop</a> — Converts a packed internet address to a human readable representation</li><li><a href="function.inet-pton.php">inet_pton</a> — Converts a human readable IP address to its packed in_addr representation</li><li><a href="function.ip2long.php">ip2long</a> — Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer</li><li><a href="function.long2ip.php">long2ip</a> — Converts a long integer address into a string in (IPv4) Internet standard dotted format</li><li><a href="function.net-get-interfaces.php">net_get_interfaces</a> — Get network interfaces</li><li><a href="function.openlog.php">openlog</a> — Open connection to system logger</li><li><a href="function.pfsockopen.php">pfsockopen</a> — Open persistent Internet or Unix domain socket connection</li><li><a href="function.request-parse-body.php">request_parse_body</a> — Read and parse the request body and return the result</li><li><a href="function.setcookie.php">setcookie</a> — Send a cookie</li><li><a href="function.setrawcookie.php">setrawcookie</a> — Send a cookie without urlencoding the cookie value</li><li><a href="function.socket-get-status.php">socket_get_status</a> — Alias of stream_get_meta_data</li><li><a href="function.socket-set-blocking.php">socket_set_blocking</a> — Alias of stream_set_blocking</li><li><a href="function.socket-set-timeout.php">socket_set_timeout</a> — Alias of stream_set_timeout</li><li><a href="function.syslog.php">syslog</a> — Generate a system log message</li></ul>
</div>
<?php manual_footer($setup); ?>