This isn't a problem, just an inquiry. I originally tried this:
PHP Code:
while (socket_change(g_hSocket, 1000000))
This created an infinite loop, so I'm using a for loop instead. But does anybody know why that would happen? It should only return true if new data is in the socket, right? :/