[PHP-WIN] Re: Fsockopen with ssl takes 8.4 seconds to return on Windows

2006-03-05 Thread George Cherian
On Sun, Mar 05, 2006 at 06:45:12AM -0500, [EMAIL PROTECTED] wrote: > Hi George, thanks for informing us of this info. > > Can I ask how managed to get these times of executing the fsockopen functions? > > Tryst Do you mean how I managed to profile my code? Or how I actually ran it? For profil

[PHP-WIN] Re: Fsockopen with ssl takes 8.4 seconds to return on Windows

2006-03-04 Thread George Cherian
This is definitely a bug. In php5.0 it takes around 8.4 seconds. On php-5.1 now it takes 1.2 seconds. That is only for the first connection. If you make a second fsockopen in the SAME script, it takes only 0.03 seconds. And the problem occurs only for ssl streams. These are the times for fso

[PHP-WIN] Re: Fsockopen with ssl takes 8.4 seconds to return on Windows

2006-03-04 Thread George Cherian
Hi folks, I wam trying to to use fsockeopen in a simple client written for my own simple server. The problem is that on Windows, the fsockopen call seems to take around 8 seconds to return. But once the client exits, and starts up, fsockopen takes 8 seconds. Has anyone faced the same probl

[PHP-WIN] Re: Strange access violation

2006-02-14 Thread George Cherian
Check COM accesses. I have seen php crash if wrong values are passed to COM. Hash out the COM code and see it the error occurs. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Writing a server in windows php

2005-08-28 Thread George Cherian
I need to write a long running server in php on windows. I am currently using 'select' on sockets. The problem is that the work of the server involves activities that may block. But I don't want the server the block in such circumstances. So the proper way seems to be to use createProcess on e