What is the use of stream_socket_pair without pcntl_fork?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux