The ideal connection implementation for Internet cafe software

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

+3
source share
3 answers
+2

You can also look at this site for basic requirements http://www.java2s.com/Code/CSharp/Network/CatalogNetwork.htm

0
source

Source: https://habr.com/ru/post/1753139/


All Articles