Re: How to check port conection? socket_connect and fsockopen have problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx> ???????/???????? ? ????????
?????????:
>news:B97E3961173C4943BF7C722DFE31943D9054A1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
..
>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



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux