Skip to content

feat: TCP Client Server Half Duplex Communication#853

Merged
ayaankhan98 merged 34 commits intoTheAlgorithms:masterfrom
NVombat:master
Sep 7, 2021
Merged

feat: TCP Client Server Half Duplex Communication#853
ayaankhan98 merged 34 commits intoTheAlgorithms:masterfrom
NVombat:master

Conversation

@NVombat
Copy link
Copy Markdown
Contributor

@NVombat NVombat commented Aug 27, 2021

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:

Copy link
Copy Markdown
Member

@ayaankhan98 ayaankhan98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert .vscode/settings.json

@NVombat
Copy link
Copy Markdown
Contributor Author

NVombat commented Aug 27, 2021

I had deleted the folder by mistake. I restored the deletion and then pushed the file back into the repository. Will That be fine?

Comment thread .vscode/settings.json Outdated
@Panquesito7 Panquesito7 changed the title TCP Client Server Half Duplex Communication feat: TCP Client Server Half Duplex Communication Aug 27, 2021
Comment thread .vscode/settings.json Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_client.c
Comment thread client_server/tcp_half_duplex_server.c Outdated
@Panquesito7 Panquesito7 added Autochecks are failing Failing CI Auto-checks Changes requested enhancement New feature or request Proper Documentation Required requested to write the documentation properly labels Aug 27, 2021
Copy link
Copy Markdown
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fix these warnings, please.

NVombat and others added 5 commits August 27, 2021 21:03
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
NVombat and others added 6 commits August 28, 2021 00:13
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
@Panquesito7 Panquesito7 removed the Autochecks are failing Failing CI Auto-checks label Aug 27, 2021
Copy link
Copy Markdown
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please enable GitHub Actions in your repository of this fork in this link: https://github.com/NVombat/C/actions

Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
NVombat and others added 3 commits August 28, 2021 02:26
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
@NVombat
Copy link
Copy Markdown
Contributor Author

NVombat commented Aug 31, 2021

Are there any other changes that need to be made ?

Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
NVombat and others added 3 commits August 31, 2021 22:25
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
@NVombat
Copy link
Copy Markdown
Contributor Author

NVombat commented Aug 31, 2021

I updated all comment formatting to be uniform.

Comment thread client_server/tcp_half_duplex_client.c
Comment thread client_server/tcp_half_duplex_server.c
Comment thread client_server/tcp_half_duplex_server.c
NVombat and others added 3 commits September 1, 2021 11:09
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Comment thread client_server/tcp_half_duplex_client.c Outdated
Comment thread client_server/tcp_half_duplex_server.c Outdated
Copy link
Copy Markdown
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work, @NVombat! It's been great to be your first contribution here! We hope you keep contributing! 😄👍🎉

@Panquesito7 Panquesito7 added approved Approved; waiting for merge and removed Changes requested Proper Documentation Required requested to write the documentation properly labels Sep 1, 2021
@NVombat
Copy link
Copy Markdown
Contributor Author

NVombat commented Sep 1, 2021

Thank you! Will contribute more for sure!

@Panquesito7
Copy link
Copy Markdown
Member

@Amino19, would you like to review this PR? Thanks. 🙂

@ayaankhan98 and @mishraabhinn, please wait until @Amino19 reviews this PR.
They're practicing with us and learning to review PRs with us. 🙂

@Panquesito7 Panquesito7 requested a review from aminoxix September 7, 2021 01:43
Copy link
Copy Markdown
Member

@ayaankhan98 ayaankhan98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Copy Markdown
Member

@aminoxix aminoxix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NVombat: Thanks for your contributions in The Algorithms!
LGTM! 🥳

@Panquesito7: Pl take this to your end! : )

@ayaankhan98 ayaankhan98 merged commit 0bcf737 into TheAlgorithms:master Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved; waiting for merge enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding Half Duplex & Full Duplex TCP Client Server Code

4 participants