Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.25 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.25 KB

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.