Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12456

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Unix Domain: Unix and UDG</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="transports.inet.html">Internet Domain: TCP, UDP, SSL, and TLS</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="types.comparisons.html">PHP type comparison tables</a></div>
 <div class="up"><a href="transports.html">List of Supported Socket Transports</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="transports.unix" class="section">
  <h2 class="title">Unix Domain: Unix and UDG</h2>
  <p class="simpara">
   <em>unix://</em> and
   <em>udg://</em> (udg:// since PHP 5).
  </p>

  <ul class="itemizedlist">
   <li class="listitem"><span class="simpara"><em>unix:///tmp/mysock</em></span></li>
   <li class="listitem"><span class="simpara"><em>udg:///tmp/mysock</em></span></li>
  </ul>

  <p class="simpara">
   <em>unix://</em> provides access to a socket stream
   connection in the Unix domain. <em>udg://</em> provides
   an alternate transport to a Unix domain socket using the user datagram
   protocol.
  </p>

  <p class="simpara">
   Unix domain sockets, unlike Internet domain sockets, do not expect
   a port number.  In the case of  <span class="function"><a href="function.fsockopen.html" class="function">fsockopen()</a></span> the
   <em><code class="parameter">portno</code></em> parameter should be set to 0.
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="transports.inet.html">Internet Domain: TCP, UDP, SSL, and TLS</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="types.comparisons.html">PHP type comparison tables</a></div>
 <div class="up"><a href="transports.html">List of Supported Socket Transports</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>