This repository includes the source code files for setting up a chat server & proxy server.
Compile the code for SERVER and CLIENT as two separate programs with the argument -lpthread
Example :
gcc -o server chat_server.c -lpthread
gcc -o client chat_client.c -lpthread
and then execute in the order
./server <port no>
./client <server ip> <port no>
Compile the code
Example :
gcc -o proxy proxy_server.c
and then execute by
./proxy <port no>