Skip to content

Bancha-t/Test-ChatwithSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Network Chat Program

This is a straightforward network messaging application developed in C++ utilizing socket programming. It consists of a server and several clients that are able to chat in real time.

How to Compile

Step 1: Compile the Server

Having obtained the Server.cpp and Client.cpp files, you need to generate both the server and client programs by using the following commands:

g++ Server.cpp -o server -pthread
g++ Client.cpp -o client -pthread

Step 2: Run the Program

fter compiling the programs, the next step is to run them as follows:

  1. Run the server: Open one terminal and type in the prompt below to launch the server:
./server
  1. Run the client: Open another terminal and execute the following command to start the client:
./client

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages