[PR #853] [MERGED] feat: TCP Client Server Half Duplex Communication #1357

Open
opened 2026-01-29 15:19:42 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/853
Author: @NVombat
Created: 8/27/2021
Status: Merged
Merged: 9/7/2021
Merged by: @ayaankhan98

Base: masterHead: master


📝 Commits (10+)

  • f83eb56 TCP Client Server Half Duplex Comm
  • dd1e30e reverting .vscode/settings.json in reference to request
  • 9e7c3ad Set gitignore back to original state
  • f1a634c Update .vscode/settings.json
  • d724e27 Update client_server/tcp_half_duplex_client.c
  • a549c1c Update client_server/tcp_half_duplex_server.c
  • 9c90d04 Making all the requested changes
  • 9dd80a8 Making Requested Changes
  • 926d8e1 Update client_server/tcp_half_duplex_client.c
  • 3a07cdf Update client_server/tcp_half_duplex_client.c

📊 Changes

3 files changed (+332 additions, -0 deletions)

View changed files

📝 DIRECTORY.md (+2 -0)
client_server/tcp_half_duplex_client.c (+153 -0)
client_server/tcp_half_duplex_server.c (+177 -0)

📄 Description

Description of Change

Added the server and client code for half duplex TCP communication. Ran the code to make sure it compiles and runs successfully. Commented the code and followed contributing guidelines.

References

Implements Half Duplex Communication for #852

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/853 **Author:** [@NVombat](https://github.com/NVombat) **Created:** 8/27/2021 **Status:** ✅ Merged **Merged:** 9/7/2021 **Merged by:** [@ayaankhan98](https://github.com/ayaankhan98) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`f83eb56`](https://github.com/TheAlgorithms/C/commit/f83eb56858d14ea732c4fba7b180775576be698a) TCP Client Server Half Duplex Comm - [`dd1e30e`](https://github.com/TheAlgorithms/C/commit/dd1e30e307a0b170d0cce374514b9e956309f13e) reverting .vscode/settings.json in reference to request - [`9e7c3ad`](https://github.com/TheAlgorithms/C/commit/9e7c3ad38061808ba8c160314c7fe8c716e153d1) Set gitignore back to original state - [`f1a634c`](https://github.com/TheAlgorithms/C/commit/f1a634cc3676ed2a27a9099c63b80a5e239d1111) Update .vscode/settings.json - [`d724e27`](https://github.com/TheAlgorithms/C/commit/d724e27f88d82f353111608128f9e2c07fe1ea4a) Update client_server/tcp_half_duplex_client.c - [`a549c1c`](https://github.com/TheAlgorithms/C/commit/a549c1c4a9b4ccf3fcd14740a3a350198bd6b4d9) Update client_server/tcp_half_duplex_server.c - [`9c90d04`](https://github.com/TheAlgorithms/C/commit/9c90d04b6badd5f15d957408d247ddbd962bfb00) Making all the requested changes - [`9dd80a8`](https://github.com/TheAlgorithms/C/commit/9dd80a81b72ca91acb38808548ef568f1d2c3b93) Making Requested Changes - [`926d8e1`](https://github.com/TheAlgorithms/C/commit/926d8e1f2175f10142e90df2dc0ae3a9c162e3ac) Update client_server/tcp_half_duplex_client.c - [`3a07cdf`](https://github.com/TheAlgorithms/C/commit/3a07cdf3e12ad03e8999ff59022a57c2d94606b6) Update client_server/tcp_half_duplex_client.c ### 📊 Changes **3 files changed** (+332 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+2 -0) ➕ `client_server/tcp_half_duplex_client.c` (+153 -0) ➕ `client_server/tcp_half_duplex_server.c` (+177 -0) </details> ### 📄 Description #### Description of Change Added the server and client code for half duplex TCP communication. Ran the code to make sure it compiles and runs successfully. Commented the code and followed contributing guidelines. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> Implements Half Duplex Communication for #852 #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/853"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:19:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1357