Skip to content

eugeneli/Multithreaded-Chat-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

After compiling, there will be two executables: server and client
Run the server by doing:
./server [Port]
or just
./server

The default port is 9999


Run the client by doing:
./client [Username] [Host] [Port]


The client is mostly the same except for the existence of a static 
global variable (sorry). The client's socket fd to the server is global
so the client's interrupt handler can send a message to the server telling 
it that the client has disconnected.

About

Multithreaded chat server/client written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published