<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.remote.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'book.sockets.php',
    1 => 'Sockets',
    2 => 'Soketler',
  ),
  'up' => 
  array (
    0 => 'refs.remote.other.php',
    1 => 'Diğer Hizmetler',
  ),
  'prev' => 
  array (
    0 => 'class.snmpexception.php',
    1 => 'SNMPException',
  ),
  'next' => 
  array (
    0 => 'sockets.setup.php',
    1 => 'Yapılandırma/Kurulum',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/sockets/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.sockets.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.sockets" class="book">
 
 <h1 class="title">Soketler</h1>
 

 
 <div id="intro.sockets" class="preface">
  <h1 class="title">Giriş</h1>
  <p class="para">
   Soket eklentisi, BSD soketlerine dayalı soket iletişim işlevlerine düşük
   seviyeli bir arayüz olarak gerçeklenmiştir. Eklenti bir soket istemcisi
   olarak davranabildiği gibi bir soket sunucusu olarak davranabilmektedir.
  </p>
  <p class="para">
   Daha temel istemci tarafı soket arayüzü için
   <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> ve
   <span class="function"><a href="function.pfsockopen.php" class="function">pfsockopen()</a></span> işlevlerine bakınız.
  </p>
  <p class="para">
   Bu işlevleri kullanırken dikkat etmeniz gereken husus, işlev isimleri
   olarak C kütüphanesindeki eşdeğerlerinin isimleri kullanılmış olsa da
   bildirimleri aynı değildir. Çelişkiye düşmemek için işlevlerin
   açıklamalarını okumayı unutmayın.
  </p>
  <p class="para">
   Soket programlamaya yabancı olanlar Unix kılavuz sayfalarından ve C&#039;deki
   soket programlama ile ilgili öğreticilerden büyük ölçüde yararlanabilirler.
   Çoğu, bir kaç değişiklikle PHP&#039;deki soket programlamaya uyarlanabilir.
   <a href="http://www.unixguide.net/network/socketfaq/" class="link external">&raquo;&nbsp;Unix Soketleri için SSS</a>
   iyi bir başlangıç olabilir.
  </p>
 </div>
 

 






 






 







 







 







 




 





<ul class="chunklist chunklist_book"><li><a href="sockets.setup.php">Yapılandırma/Kurulum</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="sockets.installation.php">Kurulum</a></li><li><a href="sockets.resources.php">&Ouml;zkaynak T&uuml;rleri</a></li></ul></li><li><a href="sockets.constants.php">&Ouml;ntanımlı Sabitler</a></li><li><a href="sockets.examples.php">&Ouml;rnekler</a></li><li><a href="sockets.errors.php">Soket Hataları</a></li><li><a href="ref.sockets.php">Soket İşlevleri</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.socket-accept.php">socket_accept</a> — Soket &uuml;zerinden bağlantı kabul eder</li><li><a href="function.socket-addrinfo-bind.php">socket_addrinfo_bind</a> — Create and bind to a socket from a given addrinfo</li><li><a href="function.socket-addrinfo-connect.php">socket_addrinfo_connect</a> — Create and connect to a socket from a given addrinfo</li><li><a href="function.socket-addrinfo-explain.php">socket_addrinfo_explain</a> — Get information about addrinfo</li><li><a href="function.socket-addrinfo-lookup.php">socket_addrinfo_lookup</a> — Get array with contents of getaddrinfo about the given hostname</li><li><a href="function.socket-atmark.php">socket_atmark</a> — Determines whether socket is at out-of-band mark</li><li><a href="function.socket-bind.php">socket_bind</a> — Soketi bir isimle ilişkilendirir</li><li><a href="function.socket-clear-error.php">socket_clear_error</a> — Soket &uuml;zerindeki hatayı veya son hata kodunu siler</li><li><a href="function.socket-close.php">socket_close</a> — Socket nesnesini kapatır</li><li><a href="function.socket-cmsg-space.php">socket_cmsg_space</a> — Calculate message buffer size</li><li><a href="function.socket-connect.php">socket_connect</a> — Soket &uuml;zerinde bir bağlantıyı ilklendirir</li><li><a href="function.socket-create.php">socket_create</a> — Bir soket oluşturur (iletişim i&ccedil;in bir u&ccedil;)</li><li><a href="function.socket-create-listen.php">socket_create_listen</a> — Bağlantı kabul etmek i&ccedil;in port &uuml;zerinde bir soket a&ccedil;ar</li><li><a href="function.socket-create-pair.php">socket_create_pair</a> — Ayrılması olanaksız bir soket &ccedil;ifti oluşturur ve bunları
  bir dizide saklar</li><li><a href="function.socket-export-stream.php">socket_export_stream</a> — Export a socket into a stream that encapsulates a socket</li><li><a href="function.socket-get-option.php">socket_get_option</a> — Soketle ilgili bir se&ccedil;eneğin değerini d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.socket-getopt.php">socket_getopt</a> — Takma Adı: socket_get_option</li><li><a href="function.socket-getpeername.php">socket_getpeername</a> — Belirtilen soketin uzak tarafını sorgular</li><li><a href="function.socket-getsockname.php">socket_getsockname</a> — Belirtilen soketin yerel tarafını sorgulayıp soket t&uuml;r&uuml;ne g&ouml;re
  ya bir konak/port &ccedil;ifti ya da bir Unix dosya yolu d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.socket-import-stream.php">socket_import_stream</a> — Import a stream</li><li><a href="function.socket-last-error.php">socket_last_error</a> — Soket &uuml;zerindeki son hatanın kodunu d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.socket-listen.php">socket_listen</a> — Bir soketi bağlantı kabul etmek i&ccedil;in dinler</li><li><a href="function.socket-read.php">socket_read</a> — Bir soketten belli sayıda bayta kadar okuma yapar</li><li><a href="function.socket-recv.php">socket_recv</a> — Bağlı bir soketten veri alır</li><li><a href="function.socket-recvfrom.php">socket_recvfrom</a> — Bağlantılı olsun olmasın bir soketten veri alır</li><li><a href="function.socket-recvmsg.php">socket_recvmsg</a> — Read a message</li><li><a href="function.socket-select.php">socket_select</a> — Belirtilen soket dizileri &uuml;zerinde belirtilen zaman aşımı ile
  select() sistem &ccedil;ağrısını &ccedil;alıştırır</li><li><a href="function.socket-send.php">socket_send</a> — Bağlı bir sokete veri g&ouml;nderir</li><li><a href="function.socket-sendmsg.php">socket_sendmsg</a> — Send a message</li><li><a href="function.socket-sendto.php">socket_sendto</a> — Bağlı olsun olmasın bir sokete ileti g&ouml;nderir</li><li><a href="function.socket-set-block.php">socket_set_block</a> — Soketi engelleme kipine sokar</li><li><a href="function.socket-set-nonblock.php">socket_set_nonblock</a> — Belirtilen dosya tanıtıcısı i&ccedil;in beklememe kipini
  etkinleştirir</li><li><a href="function.socket-set-option.php">socket_set_option</a> — Soketle ilgili se&ccedil;enekleri belirler</li><li><a href="function.socket-setopt.php">socket_setopt</a> — Takma Adı: socket_set_option</li><li><a href="function.socket-shutdown.php">socket_shutdown</a> — Bir soketi almaya, g&ouml;ndermeye veya her ikisine kapatır</li><li><a href="function.socket-strerror.php">socket_strerror</a> — Bir soket hatasıyla ilgili a&ccedil;ıklamayı d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.socket-write.php">socket_write</a> — Bir sokete yazar</li><li><a href="function.socket-wsaprotocol-info-export.php">socket_wsaprotocol_info_export</a> — Exports the WSAPROTOCOL_INFO Structure</li><li><a href="function.socket-wsaprotocol-info-import.php">socket_wsaprotocol_info_import</a> — Imports a Socket from another Process</li><li><a href="function.socket-wsaprotocol-info-release.php">socket_wsaprotocol_info_release</a> — Releases an exported WSAPROTOCOL_INFO Structure</li></ul></li><li><a href="class.socket.php">Socket</a> — The Socket class</li><li><a href="class.addressinfo.php">AddressInfo</a> — The AddressInfo class</li></ul></div><?php manual_footer($setup); ?>