Re: [PHP] Why would a socket be unavailable?

2004-05-14 Thread René Fournier
)? Warren Vail -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 4:49 PM To: Vail, Warren Cc: php Subject: Re: [PHP] Why would a socket be unavailable? There is no firewall-it's all running locally, on my iBook (with Firewall off). You know, I really

[PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
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);

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Daniel Clark
I just read something about sock warnings this morning. It said sometimes they drop off, and to ignore the warnings, but capture the errors. I get this output: PHP Warning: socket_read() unable to read from socket [35]: Resource temporarily unavailable in

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread raditha dissanayake
#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 {

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
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

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Daniel Clark
http://www.php.net/manual/en/ref.sockets.ph I just read something about sock warnings this morning. It said sometimes they drop off, and to ignore the warnings, but capture the errors. I get this output: PHP Warning: socket_read() unable to read from socket [35]: Resource temporarily

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote: http://www.php.net/manual/en/ref.sockets.ph Yes, I've read that page... many times. It has not helped me. That is why I am posting my problem here, in that hopes that someone can help. (I don't mean to be completely helpless, but I

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Daniel Clark
Guess it really is experiemental :-) http://www.php.net/manual/en/ref.sockets.ph Yes, I've read that page... many times. It has not helped me. That is why I am posting my problem here, in that hopes that someone can help. (I don't mean to be completely helpless, but I just don't yet

RE: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Vail, Warren
. Warren Vail -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 4:24 PM To: [EMAIL PROTECTED] Cc: php Subject: Re: [PHP] Why would a socket be unavailable? On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote: http://www.php.net/manual

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
machines. Warren Vail -Original Message- From: Ren Fournier [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 4:24 PM To: [EMAIL PROTECTED] Cc: php Subject: Re: [PHP] Why would a socket be unavailable? On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote: http://www.php.net/manual

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
process)? Warren Vail -Original Message- From: Ren Fournier [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 4:49 PM To: Vail, Warren Cc: php Subject: Re: [PHP] Why would a socket be unavailable? There is no firewall-it's all running locally, on my iBook (with Firewall off). You know, I

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Curt Zirzow
* Thus wrote Ren Fournier ([EMAIL PROTECTED]): On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote: http://www.php.net/manual/en/ref.sockets.ph Yes, I've read that page... many times. It has not helped me. That is why I am posting my problem here, in that hopes that someone can

RE: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Vail, Warren
13, 2004 5:13 PM To: Vail, Warren Cc: php Subject: Re: [PHP] Why would a socket be unavailable? Hi Warren, There is only one process, and I'm sure I have only one IP address. It's just one script that loops. At the top of the loop, it waits to socket_read some data. If no data appears, I want