Hi, I realise that sockets is still 'experimental' but any help will be much appreciated. I am developing a queue system to send commands across from a server to a client using sockets. Problem is that the I keep getting a 'connection reset by peer' error after the first command is sent. The server script itself is in a loop which I believe should maintain the socket connection. I am using socket_write() to send the data across the socket, and I am wondering if I should be using socket_send()? Does anyone have any ideas or experience of doing this?
My PHP version is 4.2.3. My server software is running on Windows and client software on Linux although eventually both will be on Linux. Thanks. Gareth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php