- This is http/1 Chat System
- open linux terminal(ctrl + alt + t)
- open two instant terminal for server and client separately.
- In one terminal compile server file via- gcc ecoserver.cpp -o server
- Run the server file via- ./server [ip address of server] [port address of server]
- In another terminal compile client file via- gcc ecoserver.cpp -o client
- Run the client file via- ./client [ip address of server] [port address of server]
command
gcc ecoserver.cpp -o server ./server 127.0.0.1 8080
gcc ecoclient.cpp -o client ./client 127.0.0.1 8080