php-windows Digest 12 Dec 2009 10:30:26 -0000 Issue 3735

Topics (messages 29754 through 29754):

What is the use of stream_socket_pair without pcntl_fork?
        29754 by: Jan Uhlig

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Hello,

Since PHP 5.3, stream_socket_pair() ist implemented for Windows. However, I wonder, what is the use of this function without pcntl_fork(), which is not available for Windows? The only way on Windows to start a new process is through system(), but then I won't have the same socket pair in each process, which renders it useless for IPC which, as I understand it, it is intended for. So, what can I do with stream_socket_pair() if I can not fork?

Regards,
    Jan Uhlig

--- End Message ---

Reply via email to