Hi, I have a problem using sockets in PHP 5. I create a socket in non-blocking mode, and when I read in that socket, socket_read() function waits for incoming data (as in a blocking socket).
However, if I use system 'ltrace' in my script, I can see that: recv(3, 0x4078f1c4, 1, 0) = -1 EAGAIN (Resource temporarily unavailable) Why a socket_last_error() does not return nothing? Why socket_read() keeps waiting for data? Thanks for your help. -- Sergio Cinos http://www.alsernet.es - [EMAIL PROTECTED] Tlf: 902 187 187 - Fax: 902 187 188 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php