When a new client connects to the server's socket, the server creates a new child process using the fork()
system call.
Each child process then handles the communication with the client by creating a new socket for the client connection.
This allows the server to handle multiple clients concurrently, with each client being managed by its own child process.
-
Notifications
You must be signed in to change notification settings - Fork 0
Multiprocessing in a client-server architecture using fork system call to handle multiple clients concurrently.
License
aydinsimsek/Concurrency-Demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Multiprocessing in a client-server architecture using fork system call to handle multiple clients concurrently.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published