/SocketTask

a multi client and single server communication program

Primary LanguageJava

#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

  1. provides UI interface

  2. server can send unicast to a specific client

  3. server can send broadcast

  4. server can force any client offline

  5. server can count the number of online client

  6. server can get each client's usage

  7. client can send message to server individually

  8. client can disconnect individually

  9. 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