php_stream_sock_open_from_socket

Convert a socket descriptor into a stream ()
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.

This HTML Help has been published using the chm2web software.