Skip to content

pigate/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat

java tcp chat server/client

Configuration:

  • Replace port numbers with your designated ports. Try to choose ports upwards of 5000.

To run: Ensure that server is running before client.

For Server: javac TcpServer java TcpServer

For Client javac TcpClient java TcpClient

Limitations: Server and Client patiently take turn. Only when one sends message may other send message.

How to improve: Have server and client poll continuously so that either may send message anytime. Log messages into a file. Perhaps show the last * lines of the file in console.

About

java tcp chat server/client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages