This command line application basically uses the user's IPv4 address and create a socket to transmit a message from one's terminal to another terminal.
- Download Cygwin and then install it.
- Now search for gcc and then install gcc-g++ and gcc-core.
- After the Installation cygwin terminal get installed and then copy the files server.cpp and client.cpp and then change the directory in the terminal where the files are and then run the following commands :-
g++ server.cpp -o server
./server 8080
g++ client.cpp -o client
./client IP_ADDRESS SERVER_PORT_NO.
g++ server.cpp -o server
./server 8080
g++ client.cpp -o client
./client 127.0.0.1 8080