| socket_bind(PHP 4 >= 4.1.0, PHP 5) socket_bind — Binds a name to a socket Описание
   bool socket_bind
    ( resource $socket
   , string $address
   [, int $port = 0
  ] ) Binds the name given in address to the socket described by socket. This has to be done before a connection is be established using socket_connect() or socket_listen(). Список параметров
 
 Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. The error code can be retrieved with socket_last_error(). This code may be passed to socket_strerror() to get a textual explanation of the error. Примеры
 Пример #1 Using socket_bind() to set the source address 
<?phpПримечания
 
 Смотрите также
 
 | ||