Skip to content

YassinTalssis/ChatApp_with_Sockets_in_C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatApp_with_Sockets_in_C

This mini-project consists of building a chat app with sockets using the C programming language. Here are the instructions on how to run this code:

1-Compile the server and client source code by running the following commands:

gcc server.c -o server

gcc client.c -o client

2-Start the server by running the server: ./server

3-Open one or more terminals and run the client code. ./client

4-Once the clients is connected to the server, you can send messages but first you need to: + Choose the receviver use command LIST to list all the users connected to the server + Now To send message write: SEND user_number your_message

The following image provide more information about how to run this code:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages