Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 526 Bytes

File metadata and controls

23 lines (20 loc) · 526 Bytes

Chat-Application

To Run Server:

Compile:

g++ -pthread -o server server.cpp

Run:

./sever

To Run Client:

Complie:

g++ -pthread -o client client.cpp

Run:

./client username ipaddress

Here username is the username for the client to register with server and ipaddress is the IP address (not domain name) on which the server is running (PORT number is hardcoded as 8080). My server code is hardcoded to run on IP “127.0.0.1” and PORT “8080”.