Sign inSign up

pareshbhagat/chat-application-client-server

By pareshbhagat

•Updated over 3 years ago

Chat application using Socket programming in C with end-to-end encryption.

Image
0

170

pareshbhagat/chat-application-client-server repository overview

⁠Chat Application

A client-server user-level chat application using Socket Programming in C.The server and client processes can run on same or different machines. Multiple client processes can connect to the same server but only one can chat with server at a time. Messages are end-to-end encrpyted using a simple algorithm for generating public key,private key pair.

⁠Tags

C programming, Socket programming, End-to-end encryption

⁠Demo

To start server, PORT number is to be given as argument(ex. 9999)

sudo docker run --rm -it -p <external port>:<container internal port> pareshbhagat/chat-application-client-server:server <port number as argument to server or container internal port>

Example:
sudo docker run --rm -it -p 9999:80 pareshbhagat/chat-application-client-server:server 80

To execute the client process, the IP address and PORT number of server is to be passed as command line argument.

sudo docker run --rm -it pareshbhagat/chat-application-client-server:client <ip address of server host> <external port>

Example:
sudo docker run --rm -it pareshbhagat/chat-application-client-server:client 192.168.0.104 9999

Choose a username of your choice and start chatting

Tag summary

Content type

Image

Digest

sha256:26cc1e1af…

Size

439.5 MB

Last updated

over 3 years ago

docker pull pareshbhagat/chat-application-client-server:client