Sending data between programs with Client and Server objects
in
Core Library Questions
•
2 years ago
Hi, I'm trying to work on a simple multyplayer game (it's super simple.. like dots moving around) and I'm having trouble on figuring out on how to send data from to server to the clients. I've got the idea behind sending data right to a server and the server storing the clients so it can receive data from them, but I don't understand how to write data to a client one at a time, and also how the clients will read it. I know that there is the server.write function, but I don't see how the clients read it. Any help on this topic would be super useful.
Thanks in advance.
Thanks in advance.
1