Distributed Systems Lab: Java Socket APIs



This page contains links to the code of an echo servers and clients, using either UDP or TCP.

1. UDP

Download the UDP Server and the UDP Client code.

Compile the code and execute it, first in such a way that the client is running on the same machine as the server, then on two different machines.

2. TCP

Download the TCP Server and the TCP Client code.

Compile the code and run it. Then change the code



BACK Back to the labs page