Skip to content

A project for how to connect multiple clients to one server with socket - Java

License

Notifications You must be signed in to change notification settings

andreasagap/MultiClients-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiClients-Server

A project for how to connect multiple clients to one server with socket - Java

Server:

  • main: Create new Thread for each client. Server can receive requests from many clients at the same time.
  • Handler : In this class is the communication of a client with the server. It contains various options such as log in, sign up.
  • Email
  • Account

Client:

  • Client
  • ClientActivity
  • Email
  • FirstActivity

Args:

  • Client: IP and Port
  • Server: Port

You can run the programs from different command line, so:

Server side's command line: java -jar Server.jar 1234

Client side's command line: java -jar Client.jar 

About

A project for how to connect multiple clients to one server with socket - Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages