What is the use of stream_socket_pair without pcntl_fork?

From: Date: Sat, 12 Dec 2009 10:25:53 +0000
Subject: What is the use of stream_socket_pair without pcntl_fork?
Groups: php.windows 
Request: Send a blank email to php-windows+get-29754@lists.php.net to get a copy of this 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


« previous php.windows (#29754) next »