https://github.com/fshmidt/minitalk
A small programm to connect client and server via ssh using manual bit decoding.
https://github.com/fshmidt/minitalk
ssh ssh-server
Last synced: about 1 year ago
JSON representation
A small programm to connect client and server via ssh using manual bit decoding.
- Host: GitHub
- URL: https://github.com/fshmidt/minitalk
- Owner: fshmidt
- Created: 2022-07-02T19:41:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T19:50:59.000Z (almost 4 years ago)
- Last Synced: 2025-05-21T03:16:37.319Z (about 1 year ago)
- Topics: ssh, ssh-server
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minitalk
A small programm to connect client and server via ssh using manual bit decoding.
Mandatory Part
You must create a communication program in the form of a client and a server.
• The server must be started first. After its launch, it has to print its PID.
• The client takes two parameters:
◦ The server PID.
◦ The string to send.
• The client must send the string passed as a parameter to the server.
Once the string has been received, the server must print it.
• The server has to display the string pretty quickly. Quickly means that if you think
it takes too long, then it is probably too long.
1 second for displaying 100 characters is way too much!
• Your server should be able to receive strings from several clients in a row without
needing to restart.
• The communication between your client and your server has to be done only using
UNIX signals.
• You can only use these two signals: SIGUSR1 and SIGUSR2.
Linux system does NOT queue signals when you already have pending
signals of this type! Bonus time?
6
Chapter V
Bonus part
Bonus list:
• The server acknowledges every message received by sending back a signal to the
client.
• Unicode characters support!