#summary
This program enable the communication between mutil client and single server within localhost's different ports to provide a simulation of an Internet cafes scene
Using multi-threading and socket technology. each client's connection to the server corresponds to a thread
#some features
-
provides UI interface
-
server can send unicast to a specific client
-
server can send broadcast
-
server can force any client offline
-
server can count the number of online client
-
server can get each client's usage
-
client can send message to server individually
-
client can disconnect individually
-
client's online data will be counted and save to file when offline
#note
server must be executed first when execute and then you can add the client