Skip to content

rraafays/socks

Repository files navigation

🧦 socks

Multithreaded client server socket chat app written in Java which uses json protocols.

Goals

  • quality: maintain high quality java code
  • versatile: able to send files aswell as text
  • hackable: comment unobvious code and use few lines with good explanation

Order of Operation

  1. client sends openrequest identifying the channel to publish on
  2. server responds with success if it succeedes
  3. client sends either publish, subscribe, unsubscribe or get requests
  4. in case of get, server responds with messagelist otherwise server responds with success or error
  5. loop 3

socks demo

Getting started

First build socks:

make

Then run server using wrapper:

./server

Finally, run as many clients as you'd like.

./client

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published