I am coding an internet cafe program and trying to decide which path to take. I read some articles and found out that there are several ways to implement a server / client connection. (A bit messy, simple TCP and Socket). I'm a little confused. I ask you to show me the perfect way regarding the needs that I mentioned below.
Clients will always be connected to the server, and the server will know when a client is disconnected. The server will send the object and the string to the clients, the clients will send the string to the server.
So, should you use asynchronous or plain tcp or what? thanks in advance
source
share