Hi, I try to make a script which runs 24/7 and which connects to a socket based news feed and fetches some data whenever the server sends it.
The problem is that if i disconnect the client machine from the network, the program is not making any difference between receiving nothing cause server sends nothing, and receiving nothing cause it has no network. Also, didn't found any way to set a timeout. A bigger problem is that when i start the network, the program simply hangs. Can anybody give me a hint? I saw similar previous postings without any reply. Maybe i will be the lucky one. Regards, Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php