Use PORT number as 2567
Instructions to Compile in same machines:
-
Open the terminal and set the path accordingly.
-
Run the Make command in the terminal (emailserver, emailclient executables will get created ).
make
- Run the below command to run the emailserver with PORT number - 2567 as argument (./emailserver )
./emailserver 2567
- Run the below command to run the emailclient with PORT number - 2567 and Server IP as an argument (./emailclient )
./emailclient 127.0.0.1 2567
Instructions to Compile in different machines:
Follow the same instructions as above but choose the PORT and Server IP accordingly on their respective machines.