Skip to content
Harsh Anand edited this page Mar 1, 2024 · 4 revisions

Greeting !

Open Terminal( type following command)

   g++ server.cpp -o ser -std=c++17 -pthread && ./ser
terminal

Then it might give you warning

connection warning

If you run client before server running, or you enter wrong ip address or port number

server not up

If everything goes correctly then terminal present you this window πŸ‘‡πŸΎπŸ‘‡πŸΎπŸ‘‡πŸΎ

For Sever

Screenshot 2024-01-18 at 10 38 31

For Client

Screenshot 2024-01-18 at 10 38 55

select the option corresponding to number and for back type -1 and press enter.