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

https://github.com/ailopez-o/42barcelona-minitalk

Minitalk with bonus / Finished / 125 scored
https://github.com/ailopez-o/42barcelona-minitalk

42barcelona 42cursus 42projects bonus minitalk minitalk42 unix

Last synced: 2 months ago
JSON representation

Minitalk with bonus / Finished / 125 scored

Awesome Lists containing this project

README

        

# 42-Minitalk


GitHub code size in bytes
Number of lines of code
Code language count
GitHub top language
GitHub last commit

## Server - Client

The purpose of this project is to code a small data exchange program using UNIX signals.



## Making programs

Cloning the repo
```bash
git clone --recursive https://github.com/ailopez-o/42Barcelona-Minitalk.git
```
To compile client & server

```bash
$ make
```
To compile client

```bash
$ make client
```
To compile server

```bash
$ make server
```

## How to use

Execute Server

```bash
$ ./server
```



Execute client with the Server PID and a string to send

```bash
$ ./client server_pid "String to send"
```
```bash
$ ./client server_pid "$(cat file.txt)"
```
```bash
$ ./client server_pid -g file.txt
```