Re: Why would a socket be unavailable?

From: Date: Thu, 13 May 2004 23:11:54 +0000
Subject: Re: Why would a socket be unavailable?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186175@lists.php.net to get a copy of this message
There is no firewall. I'm running this locally. On Thursday, May 13, 2004, at 05:00 PM, raditha dissanayake wrote:
#1 cause for socket failures happen to be firewalls. René Fournier wrote:
I get this output: PHP Warning: socket_read() unable to read from socket [35]: Resource temporarily unavailable in /Users/rene/Sites/gpspolice/titan/cr.php on line 63 From this code: do {
    socket_set_block($socket);
    socket_set_option($socket,SOL_SOCKET,SO_RCVTIMEO,$timeout);
    while(($buf = socket_read($socket,128,PHP_BINARY_READ)) !== false) {
    [...]
And it's failing at "while". Any ideas? ...Rene
-- Raditha Dissanayake. --------------------------------------------- http://raditha/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#186175) next »