Please note: if you are an experience php programmer, I am asking that you be patient since I don't have a code sample. My question is not a bout code error, is about how sockets work (interaction mechanics).
I am completely new to PHP, but because I am trying to learn PHP now, and with it, I want to write a video game.
I am still a little confused about Sockets.
For instance, I found this tutorial: http://www.binarytides.com/php-socket-p ... -tutorial/
that explains a lot about sockets.
I do understand the basics of how sockets work, since I have done socket programming in JAVA.
But this time I want to learn how to maintain a website in PHP which accepts socket connection from many clients, since it will be a video game.
So if anyone goes over the tutorial I posted in the link above, you will notice that the person who explained it used TELNET to test the server and client sockets.
This is my question, in php, when you write socket programming, the clients, do they have to run on telnet, for instance, if I am running the server in telenet can the clients (running NOT as a TELNET instance) run as web php page, and still read and send (relay) information to the server? Can someone try to explain this, that's what I am trying to understand?