Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 380 Bytes

File metadata and controls

15 lines (14 loc) · 380 Bytes

java-sockets

Socket Progarmming in Java

A simple example of client-server communication via sockets. Once the client establishes a successful connection with the server, the client can send messages to the server, which will be echoed back to the client.

Usage:

Server:
java EchoServer \<port-number\>
Client:
java EchoClient \<host-name\> \<port-number\>