https://github.com/iker-gonzalez/minitalk
Small data exchange program using UNIX signals and bitwise operations
https://github.com/iker-gonzalez/minitalk
42cursus c client-server data-exchange signals
Last synced: 7 days ago
JSON representation
Small data exchange program using UNIX signals and bitwise operations
- Host: GitHub
- URL: https://github.com/iker-gonzalez/minitalk
- Owner: iker-gonzalez
- License: mit
- Created: 2022-06-04T10:06:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-05T18:26:49.000Z (almost 4 years ago)
- Last Synced: 2025-03-10T23:24:39.690Z (about 1 year ago)
- Topics: 42cursus, c, client-server, data-exchange, signals
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
๐ Minitalk
Development repo for 42cursus' minitalk project
For further information about 42cursus and its projects, please refer to 42cursus repo.
About
ยท
Usage
ยท
---
## ๐ฃ๏ธ About
> The goal of this project is to create two executables: a server and a client. The client will send information (a string) to the server using UNIX signals. The server must correctly receive and interpret this information, then display it.
For detailed information, refer to the [**subject of this project**](https://github.com/iker-gonzalez/42_cursus/blob/main/_PDFs/en.subject_minitalk.pdf)
## ๐ ๏ธ Usage
Clone the repository and run the command `make` on the root directory.
This will create two executables: `client` and `server`.
1) By running the server executable we start up the server and it displays its process id.
2) By running the client with the process id from the server we can send strings to the server.
3) Server receives bits containing the information, translates them to characters and prints the result as a string.
#### Bonus:
1) The client can also send Unicode format characters
2) The server interprets and displays them correctly