how does php terminate a script when it times-out?

SmellyMoo

New member
ok, I have a very exact problem, so please read carefully, I will try to be exact with my explanation.

my php script will have an open tcp connection with a client (flash), I would like to know what happens when the script gets to its timeout (after the script has been running to long) does it:

a) not timeout, as the tcp connection is handled in an event driven way, so the script isn't running when no data is being received or sent, and a call back is called when data is received, so the connection could be kept open indefinately without triggering php script timeout.
b) scipt gets terminated, and so does any connections made, if so what is called if anything to clean up?
c) other, please explain for me
 
Back
Top