Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/archer-01/minitalk

Small data exchange between two programs using UNIX signals
https://github.com/archer-01/minitalk

c signals unix

Last synced: 2 months ago
JSON representation

Small data exchange between two programs using UNIX signals

Awesome Lists containing this project

README

        

# Minitalk

*A small data exchange using UNIX signals*

## Normal version

* Minitalk is a set of two programs, a **client** and a **server**

### Description

1. Client

* The client program takes two arguments:
* The server [PID (Process ID)](https://en.wikipedia.org/wiki/Process_identifier)
* The message to send to the server

2. Server

* The server program takes no arguments

### Note

* This version (Normal version) does not handle `Ctrl + C` when sending unicode characters

### Usage

```sh
git clone --recurse-submodule https://github.com/Archer-01/Minitalk.git
cd Minitalk
make
```
### Demo
![Minitalk demo](doc/minitalk-demo.gif)

## Bonus version

### Description

* Behaves just like the normal version but also handles `Ctrl + C` when sending unicode characters

### Usage

```sh
git clone --recurse-submodule https://github.com/Archer-01/Minitalk.git
cd Minitalk
git checkout bonus
make
```

### Demo
![Minitalk Bonus demo](doc/minitalk-demo-bonus.gif)

[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)