socket_create_pair(PHP 4 >= 4.0.7, PHP 5) socket_create_pair — Creates a pair of indistinguishable sockets and stores them in an array Описание
bool socket_create_pair
( int $domain
, int $type
, int $protocol
, array &$fd
)
socket_create_pair() creates two connected and indistinguishable sockets, and stores them in fd . This function is commonly used in IPC (InterProcess Communication). Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примеры
Пример #1 socket_create_pair() example
<?php
Пример #2 socket_create_pair() IPC example
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |