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