Re: How to check port conection? socket_connect and fsockopen have problems
| From: | Sherry | Date: | Mon, 10 May 2004 17:37:51 +0000 |
| Subject: | Re: How to check port conection? socket_connect and fsockopen have problems | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23660@lists.php.net to get a copy of this message | ||
Errr...
I have so bad English??? :)
I doesn't mean 1000 times per second!
I mean 10 times per 2 minutes... So, in 3 hours I'll have about 1000 open
connections!
And the main problem is these opened connections...
Best regards,
Sherry.
>"Trevor Gryffyn" <TGryffyn@air-cargo-inc.com> ???????/???????? ? ????????
?????????:
>news:B97E3961173C4943BF7C722DFE31943D9054A1@irmailee1024.root.aircargo.com.
..
>Well, two things come immediately to mind. Using sleep() or
>continuously cycling and checking to see if the current time matches
>whatever time criteria you need (8:00am, minutes divisible by 10, etc).
>Then you don't need to hammer the sockets 1000+ times per second.
>-TG