This repository includes the source code files for setting up a chat server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
chat_client.c
chat_server.c
proxy_server.c

README.md

Socket-Programming

This repository includes the source code files for setting up a chat server & proxy server.

Chat-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>

Proxy-Server


Compile the code

Example :
gcc -o proxy proxy_server.c

and then execute by
    ./proxy <port no>