Re: I am in Socket Paradise
| From: | René Fournier | Date: | Fri, 21 May 2004 03:24:48 +0000 |
| Subject: | Re: I am in Socket Paradise | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186652@lists.php.net to get a copy of this message | ||
On Thursday, May 20, 2004, at 04:17 PM, Chris W. Parker wrote:
René Fournier <mailto:m5@renefournier.com>A combination of randomly following some (but not all) advice from this list and injecting enough debugging code to figure out myself what is going on. What threw me was the serious (but not "Fatal") PHP Warnings that appeared when my socket was timing out. That, and I didn't clear the "socket_last_error($socket)". After ignoring the warnings, and clearing the error, and setting the socket options appropriately, the client loops, waits, executes and loops some more. ...Reneon Thursday, May 20, 2004 2:58 PM said:Please ignore my previous "I-AM-SO-FRUSTRATED-I-AM-READY-FOR-A-JACKET-WITH-REALLY-LONG-SLEEVES" posts. I have managed to solve my socket woes. My simple client works loops, timesout, loops again... elegantly. (I've learned not take those PHP warnings so seriously... and to clear socket errors.)so i admittedly stopped following your numerous threads after a while... mainly for the simple fact that i've never worked with sockets thus had nothing to contribute... but how praytell did you solve your problem?