Skip to content

kibirisu/psiw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psiw

This is a project for the university.

  • Course: System and concurrent programming
  • Topic: Chat application using IPC mechanisms based on server / client structure

Compiling

  1. Clone this repository.
git clone https://github.com/shym3q/psiw.git && cd psiw
  1. Run the build script. The output binary 'chat' should be in the in the current directory.
./build.sh && cd bin

Usage

  1. Launch the server.
./chat server
  1. In separate terminals or tmux windows / panes launch as many clients as you wish.
./chat client

About

  • There is a PROTOCOL file in this repo containing details about the code (for polish native speakers, so far).
  • The code was tested mainly on Arch Linux and compiled with GCC (version 13.2.1).

TODO

  • Connecting clients to the server.
  • Partial implementation of registering a topic.
  • Splitting messages into separate channels.
  • The client messing up a request does not block the server.
  • The server handling concurrent requests.
  • GUI of the application defined.
  • A bus / a message broker implemented.
  • Closing the client with the server being informed.
  • Avoided using the global variables.
  • Avoided forking with each request.

About

project for the university

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published