To launch the server, insert in the command prompt the following lines:
g++ -o server server.cpp
./server
Note that you have to launch these commands from the folder where server.cpp file is located. Additionally, you must have a g++ compiler installed on your device.
For the client, repeat the same procedure replacing 'server' with 'client' for compilation. To launch, insert in the command prompt:
./client server_ip_address
Note that both the server and the client must be connected to the same network.
Files server.cpp and client.cpp must be compiled in different terminal windows (or on different machines in the same network) so that there is connection between them.