Recent content by nl_files

  1. N

    Why is it necessary to specify the socket type AND protocol...-?

    ...- while doing socket programming if TCP is always stream and UDP is always datagram? Shouldn't it be enough to specify either just the protocol or just the type to know either?
  2. N

    How can PHP be used as a websocket server?

    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...
Back
Top