Skip to content

About

Multithreaded chat server/client written in C

Resources

Stars

21 stars

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

21 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages