I was wondering if anyone knows a way to know when fsockopen times out? For instance if I set the timeout to 5 seconds, can I define a handler to do something if it hits that timeout connecting to my server?
thanks
I was wondering if anyone knows a way to know when fsockopen times out? For instance if I set the timeout to 5 seconds, can I define a handler to do something if it hits that timeout connecting to my server?
thanks