An open API service indexing awesome lists of open source software.

https://github.com/hectorta1989/multithreading-multiplexing-chat-c


https://github.com/hectorta1989/multithreading-multiplexing-chat-c

c chatapplication multiplexing multithreading socket-programming

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

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.