Руководство по PHP
Пред. |  | След.

# php_stream_sock_open_from_socket

php_stream_sock_open_from_socket -- Convert a socket descriptor into a stream

## Description

php_stream * php_stream_sock_open_from_socket ( int socket, int persistent )

php_stream_sock_open_from_socket() returns a stream based on the socket. persistent is a flag that controls whether the stream is opened as a persistent stream. Generally speaking, this parameter will usually be 0.

Пред. | Начало | След.
Streams Socket API Reference | Уровень выше | php_stream_sock_open_host