I know there's some examples online of using PHP as a websocket server. I just don't understand how this works.
How can a .php file be constantly listening for connections as if it was a running process?
I've worked with other socket servers in C#, Java, etc. But they were all running...