Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petru-braha/ipc-illustration
Simple communication between processes, client-server paradigm
https://github.com/petru-braha/ipc-illustration
Last synced: about 2 months ago
JSON representation
Simple communication between processes, client-server paradigm
- Host: GitHub
- URL: https://github.com/petru-braha/ipc-illustration
- Owner: petru-braha
- Created: 2024-10-23T10:15:50.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-23T14:27:36.000Z (4 months ago)
- Last Synced: 2024-10-23T17:07:49.288Z (4 months ago)
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IPC illustration
## description
- inter-process communication made with:
- pipes
- fifos
- sockets
- this program runs up to three processes:
- client process
- server process
- server's child process
- C programming language was used## setup
- run server.c
- run client.c
- write commands in the client process## signatures of commands
- login : argument
- lougout
- get-logged-users
- get-proc-info : argument
- quit## projects' design
- client sends the command to server
- the server receives it and sends the command to a child process
- check the requirements
- send the output of the command back to the client## valuable points
- fast execution and portability assured with POSIX primitives
- failures are avoided by the constructed error management system## limitations
- small constants
- support for modest amount of data## upcoming improvements
- greater constants and more data storage power
- the patch for server.c's username
- better way of shutting down the server
- get-proc-info debug