mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
Adding Half Duplex & Full Duplex TCP Client Server Code #98
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NVombat on GitHub (Aug 27, 2021).
Detailed description
A TCP Client and Server which can communicate bidirectionally but only one at a time to simulate Half Duplex Communication, and TCP Client and Server which can communicate bidirectionally simultaneously using the fork() system call which allows the client and server to receive and send messages at the same time simulating Full Duplex Communication.
Context
It helps explain the creating of a client and server to simulate half and full duplex communication systems.
Possible implementation
Full Duplex
Half Duplex
Additional information
I have already implemented this code