Go to file
Nikhill Vombatkere 0bcf7371ca
feat: TCP Client Server Half Duplex Communication (#853)
* TCP Client Server Half Duplex Comm

* reverting .vscode/settings.json in reference to request

* Set gitignore back to original state

* Update .vscode/settings.json

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Making all the requested changes

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Made Requested Changes - Added Documentation & Comments

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* Changes Made & Updated as Requested

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Updated Documentation Format - Comments made in correct format

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Comment formatting updated

* Update client_server/tcp_half_duplex_client.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update client_server/tcp_half_duplex_server.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Updated Data Type - uint32_t for socket descriptors

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-07 21:24:20 +05:30
.github feat: Convert all issue templates into issue... (#845) 2021-07-24 21:44:27 +05:30
.vscode fix newline character 2020-06-23 18:30:26 -04:00
client_server feat: TCP Client Server Half Duplex Communication (#853) 2021-09-07 21:24:20 +05:30
conversions fixed precision commit. was assert-fail on negative numbers. 2021-02-28 01:07:53 +03:00
data_structures feat: Added a program that prints words in alphabetical order using binary tree data structure (#841) 2021-07-30 16:17:09 +05:30
developer_tools feat: printf statement written in c (as minprintf) without using stdio.h li… (#820) 2021-04-03 12:03:22 +05:30
exercism formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
games Merge pull request #797 from CarlosZoft/master 2021-02-19 11:45:06 +05:30
geometry tests: added get_angle test function in geometry/vector3d (#838) 2021-07-09 13:52:29 -05:00
graphics [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
greedy_approach feat: Prims algorithm (#815) 2021-03-31 14:06:12 +05:30
hash fix: Integer literal is too large to be represented as signed integer typed (#793) 2021-02-17 21:10:29 -06:00
leetcode formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
machine_learning feat: Add endlines in machine_learning/adaline_learning.c (#846) 2021-08-18 15:35:00 -05:00
misc feat: created prime_seive.c (#708) 2020-11-26 06:34:21 -05:00
numerical_methods fix: possible segmentation faults in numerical_methods/mean.c (#805) 2021-02-23 12:36:43 -06:00
project_euler fix: Revert "fix: LGTM warnings/alerts" commit 2021-04-25 19:44:15 -05:00
searching feat: Add floyd cycle-detection-algorithm to find duplicate number (#844) 2021-07-29 12:40:05 -05:00
sorting feat: created heap_sort_2.c (#809) 2021-03-12 10:53:06 +05:30
.clang-format [bug fix] fix code formatting during CI (#597) 2020-08-26 12:11:51 -04:00
.clang-tidy [enhancement] formatted and added Hash directory to cmake (#580) 2020-07-29 13:18:11 -04:00
.gitignore ignore files in .vscode unless specifically added 2020-06-28 07:10:42 -04:00
.gitpod.dockerfile [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
.gitpod.yml update Gitpod - use docker image 2020-06-09 20:53:41 -04:00
CMakeLists.txt feat: Get a trace of all of the allocations, using a doubly linked list and wrappers for malloc/calloc and free. (#782) 2021-02-17 16:38:41 -06:00
CODE_OF_CONDUCT.md [fix/feat]: Added Code of Conduct 2020-10-01 23:45:26 -05:00
CodingGuidelines.md added code style conventions 2018-03-23 21:47:38 +01:00
CONTRIBUTING.md [feat/fix]: Improve the contributing guidelines (#839) 2021-07-07 14:41:56 -05:00
DIRECTORY.md feat: TCP Client Server Half Duplex Communication (#853) 2021-09-07 21:24:20 +05:30
Doxyfile added doxygen documentation 2020-05-24 22:28:28 -04:00
LICENSE fix: Update the copyright year to 2021 (#780) 2021-01-07 22:36:22 -06:00
README.md docs: Changes in README (#842) 2021-07-19 21:52:47 -05:00
REVIEWER_CODE.md feat: guidelines for reviewers (#671) 2020-10-18 22:02:04 -05:00

The Algorithms - C

Gitpod Ready-to-Code Language grade: C/C++ CodeQL CI Gitter chat contributions welcome GitHub repo size Doxygen CI Awesome CI Income Discord chat Donate

Overview

The repository is a collection of open-source implementations of a variety of algorithms implemented in C and licensed under GPLv3 License. The algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc.. The implementations and their associated documentations are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using different algorithm strategies and optimizations.

Features

  • The repository provides implementations of various algorithms in one of the most fundamental general purpose languages - C.
  • Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
  • Each source code is atomic using standard C library libc and no external libraries are required for their compilation and execution. Thus the fundamentals of the algorithms can be studied in much depth.
  • Source codes are compiled and tested for every commit on the latest versions of three major operating systems viz., Windows, MacOS and Ubuntu (Linux) using MSVC 16 2019, AppleClang 11.0 and GNU 7.5.0 respectively.
  • Strict adherence to C11 standard ensures portability of code to embedded systems as well like ESP32, ARM Cortex, etc. with little to no changes.
  • Self-checks within programs ensure correct implementations with confidence.
  • Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other applications.

Documentation

Online Documentation is generated from the repository source codes directly. The documentation contains all resources including source code snippets, details on execution of the programs, diagrammatic representation of program flow, and links to external resources where necessary. Click on Files menu to see the list of all the files documented with the code.

Documentation of Algorithms in C by The Algorithms Contributors is licensed under CC BY-SA 4.0
Creative Commons LicenseCredit must be given to the creatorAdaptations must be shared under the same terms

Contributions

As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our Contribution Guidelines.