- Make sure that the server IP is correct in the client.c program.
- Make sure the network ID of the server and client should be same and host ID should different in the IP.
- Make sure that the port number of client and server are same.
Run these command in the project root directory one by one:
- make
- ./server
- ./client
- Dont forcefully terminate the program by using ctrl+c or ctrl+z.