A Simple Network Chat (SNC) built in C programming language. The program has two files - server.c and client.c. The program uses multithreading for handling multiple clients.
Just simply run the Makefile using this command.
$ make Makefile compile
The server can be run using below command.
$ ./server
Maximum number of clients - Should be in range of 1 to 10 Maximum idle time - Should be in range of 1 to 300 seconds
eg:- $ ./server 5 200
The client can be run using below command.
$ ./client <Server's IP address>
In here server IP is set to be - 127.0.0.1 and port is set to be 4444
eg:- $ ./client 127.0.0.1 4444