1
0x1337c0de / Re: PHP problems on verification of server offline/online
« on: December 22, 2010, 03:10:35 AM »You're right. Brain fart on my part; sorry for the noise.
Good to know I was not just missing something smack in front of my face. As I said, I don't deal with sockets much, so I'm not intimately familiar with their behavior. That saves me the trouble of rewriting my rewrite.
A guess: If the orignal page is being hosted on the same system as the Q2 servers being pinged, perhaps the OS kernel is helping to shortcut the delay by providing an 'unreachable' response, resulting in an immediate EOF on the fread().
A good guess, and one I should have caught on to seeing as how the socket target is the same domain as the response. (there's that "smack in front of my face" thing again...)