Skip to content

retzero/Simple-Java-Client-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple client and server written in Java using the socket API. Both the client and server are multithreaded. 


Client
--------

COMPILATION
$ javac Client.java

USAGE
$ java Client hostname

where hostname is the name of the machine the server is running on. If it is the same machine as the client,
use localhost.



Server
--------

COMPILATION
$ javac Server.java

USAGE
$ java Server

This will make the server listen on port 4000 for incoming connections from client(s).

About

This is for a class project. The code is probably atrocious.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%