Skip to content

godlytalias/Socket-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

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>

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages