Skip to content

nfauconn/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

en fr

Minitalk

C programming languageBinary Communication and Bitwise OperationsSignal Handling and Inter-Process CommunicationError HandlingSynchronization and TimingResource ManagementLow-Level Programming Proficiency

Description

A client and server communication program using UNIX signals, focusing on handling multiple client requests and efficient message transmission through bit-by-bit communication (binary operations).

Key Value
Program name server and client
Language C
Authorized functions write signal sigemptyset sigaddset sigaction kill getpid malloc free pause sleep usleep exit
Authorized UNIX signals SIGUSR1 and SIGUSR2
Authorized Global Variables 1
  • The server is able to receive strings from several clients in a row without needing to restart.
  • The server acknowledges every message received by sending back a signal to the client.
  • Unicode characters support

Usage

git clone git@github.com:nfauconn/minitalk.git
cd minitalk/Project
make

Start the server:

./server

In another terminal, use the client:

./client <server_PID> <message>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published