socket_create(PHP 4 >= 4.1.0, PHP 5) socket_create — Create a socket (endpoint for communication) Описание
   resource socket_create
    ( int $domain
   , int $type
   , int $protocol
   ) 
  Creates and returns a socket resource, also referred to as an endpoint of communication. A typical network connection is made up of 2 sockets, one performing the role of the client, and another performing the role of the server. Список параметров
 
 Возвращаемые значенияsocket_create() returns a socket resource on success, or FALSE on error. The actual error code can be retrieved by calling socket_last_error(). This error code may be passed to socket_strerror() to get a textual explanation of the error. Список изменений
 
 ОшибкиIf an invalid domain or type is given, socket_create() defaults to AF_INET and SOCK_STREAM respectively and additionally emits an E_WARNING message. Смотрите также
 
  | 
||||||||||||||||||||||||||||||||||