Compile with : g++ server.cpp -o server
Execute with : ./server 1234
here 1234 is <desired port number>
you can view Server IP Address with command: hostname -I
Compile with: g++ client.cpp -o client
Execute with: ./client 127.0.0.1 1234
here 127.0.0.1 is <the Server IP Address>
here 1234 is <desired port number>