retzero/Simple-Java-Client-Server
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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).