stream_socket_pair(PHP 5 >= 5.1.0) stream_socket_pair — Creates a pair of connected, indistinguishable socket streams Описание
array stream_socket_pair
( int $domain
, int $type
, int $protocol
)
stream_socket_pair() creates a pair of connected, indistinguishable socket streams. This function is commonly used in IPC (Inter-Process Communication). Список параметров
Возвращаемые значенияReturns an array with the two socket resources on success, or FALSE on failure. Примеры
Пример #1 A stream_socket_pair() example This example shows the basic usage of stream_socket_pair() in Inter-Process Comunication.
<?phpРезультатом выполнения данного примера будет что-то подобное:
Примечания
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |