Assignment 1 for the course "Computer Networks CS 3001".
Assignment document uploaded in the files above.
The folder src
contains the files for both server
and the client
.
This assignment was created using the java and for the GUI, a java GUI toolkit called Swing
was used.
Interface for `server.java`:
The textfield on the top left constains the ip address and the port number in the format ipaddress:portnumber
. The port number is extracted from the text field by the following code
:
Interface for `server.java`:
The textfield on the top right contains the port number, where the port number is extracted by the following code
:
In both the files, the ip address is static. However, you can make it dynamic by making a push request.