<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.sockets.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'intro.sockets.php',
    1 => 'Вступ',
    2 => 'Вступ',
  ),
  'up' => 
  array (
    0 => 'book.sockets.php',
    1 => 'Sockets',
  ),
  'prev' => 
  array (
    0 => 'book.sockets.php',
    1 => 'Sockets',
  ),
  'next' => 
  array (
    0 => 'sockets.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/sockets/book.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intro.sockets" class="preface">
  <h1 class="title">Вступ</h1>
  <p class="para">
   The socket extension implements a low-level interface to the socket
   communication functions based on the popular BSD sockets, providing the
   possibility to act as a socket server as well as a client.
  </p>
  <p class="para">
   For a more generic client-side socket interface, see
   <span class="function"><a href="function.stream-socket-client.php" class="function">stream_socket_client()</a></span>, 
   <span class="function"><a href="function.stream-socket-server.php" class="function">stream_socket_server()</a></span>,
   <span class="function"><a href="function.fsockopen.php" class="function">fsockopen()</a></span>, and
   <span class="function"><a href="function.pfsockopen.php" class="function">pfsockopen()</a></span>.
  </p>
  <p class="para">
   When using these functions, it is important to remember that while
   many of them have identical names to their C counterparts, they
   often have different declarations. Please be sure to read the
   descriptions to avoid confusion.
  </p>
  <p class="para">
   Those unfamiliar with socket programming can find a lot
   of useful material in the appropriate Unix man pages, and there is a great
   deal of tutorial information on socket programming in C on the web, much
   of which can be applied, with slight modifications, to socket programming
   in PHP. The <a href="http://www.unixguide.net/network/socketfaq/" class="link external">&raquo;&nbsp;Unix Socket
   FAQ</a> might be a good start.
  </p>
 </div><?php manual_footer($setup); ?>