Skip to content

Assignment 1 for the course "Computer Networks CS 3001".

License

Notifications You must be signed in to change notification settings

redhawk5200/LAN-Messenger

Repository files navigation

LAN-Messenger

image

            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`:

server screen

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:

image


Interface for `server.java`:

client screen

The textfield on the top right contains the port number, where the port number is extracted by the following code:

clietncode

In both the files, the ip address is static. However, you can make it dynamic by making a push request.