php_stream_sock_open_unix -- Open a Unix domain socket and convert into a stream
Syntax
php_stream * php_stream_sock_open_unix ( const char * path, int pathlen, int persistent, struct timeval * timeout )
php_stream_sock_open_unix() attempts to open the Unix domain socket
specified by path. pathlen specifies the
length of path.
If timeout is not NULL, it specifies a timeout period for the connection attempt.
persistent indicates if the stream should be opened as a persistent
stream. Generally speaking, this parameter will usually be 0.
Note:
This function will not work under Windows, which does not implement Unix domain sockets.
A possible exception to this rule is if your PHP binary was built using cygwin. You are encouraged
to consider this aspect of the portability of your extension before it's release.
Note:
This function treats path in a binary safe manner, suitable for
use on systems with an abstract namespace (such as Linux), where the first character
of path is a NUL character.
Php streams.php stream sock open unix Function syntax tag
streams.php stream sock open unix php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php streams.php stream sock open unix syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.