Skip to content

a-m-andrushko/Sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Establishing connection between the server and client ends

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages