Skip to content

yokiking/Network_Chat_Room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

+Network_Chat_Room +================= + +1:N Server-Client ChatRoom using multi-threading + +/**

    • This GUI program models a client in a Server-client architechture based chatting service.
    • To use this tool, please follow the instructions as follows:
      1. start the ChatServer program on the server host.
    • USAGE: java ChatServer port user
    •       optional command line arguments:
      
    •           [port]: the port number to listen and accept the incoming connection request, 8000 by default.
      
    •           [user]: the user using the chatting server, "anonymous_user" by default.
      
      1. start the ChatClient program on the client host.
    • USAGE: java ChatClient serverHost serverPort user
    •       optional command line arguments:
      
    •           [serverHost]: the IP or host name of the server to be connected to, "localhost" by default.
      
    •           [serverPort]: the port number the server is listening to, 8000 by default.
      
    •           [user]: the user using the chatting client, "anonymous_user" by default.
      
      1. Once the two parts are set up, the two users can send message to each other. The chatting history are also
    • displayed in the text area below the message typing box.
    • NOTE: The client will fail to connect if the server is not turned on or wrong server host and port number are given.
  • *@author: Yu Jin
  • */

About

1:N Server-Client ChatRoom using multi-threading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages