I'm writing a app that will allow me to retrieve information from a games server running halflife.
The protocoll required is UDP and i have already written a script in perl, and it works fine... As it does in php most of the time.
Then when for any reason the game server goes down, the socket refuses to time out.
even if i specify a timout when opening the socket in the first place.
I have read on the docs page for fsockopen(); that a file pointer is always created when "UDP://..." is used and i'm not sure if this is what's causing my problem. ANY help at all would be usefull as i am totally stuck and DO NOT want to have to resort to using exec('perl.pl') and writing out the result...
Thanks...