https://github.com/yaa110/summa
Practical examples of C programming language to save the day
https://github.com/yaa110/summa
c examples socket
Last synced: 27 days ago
JSON representation
Practical examples of C programming language to save the day
- Host: GitHub
- URL: https://github.com/yaa110/summa
- Owner: yaa110
- License: mit
- Created: 2017-12-04T12:13:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T19:03:13.000Z (over 8 years ago)
- Last Synced: 2025-01-11T08:51:43.835Z (over 1 year ago)
- Topics: c, examples, socket
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Summa
=====
[](https://travis-ci.org/yaa110/Summa)
Practical examples of C programming language to save the day
## Examples
- [**benchmark-server.c**](https://github.com/yaa110/Summa/blob/master/src/benchmark-server.c): Creates a socket to perform download and upload benchmark tests.
- [**monitor-process.c**](https://github.com/yaa110/Summa/blob/master/src/monitor-process.c): Forks and waits for the child process and records the output of child process.
- [**netlink-listener.c**](https://github.com/yaa110/Summa/blob/master/src/netlink-listener.c): Creates a netlink socket to listen for `RTMGRP_LINK`, `RTMGRP_IPV4_IFADDR`, `RTMGRP_IPV6_IFADDR` and `RTMGRP_NEIGH` multicast groups.
## Contribution
Please feel free to open an issue to report a bug, or open a pull request to improve or add more practical examples. For opening a pull request:
- Make sure that the source code has the same structure as [template file](https://github.com/yaa110/Summa/blob/master/template.c).
- Make sure that the source code is formatted based on [.editorconfig file](https://github.com/yaa110/Summa/blob/master/.editorconfig).
- Place the source code in [src folder](https://github.com/yaa110/Summa/tree/master/src).
- Add filename and description of source code to [*Examples*](https://github.com/yaa110/Summa#examples) section of [README file](https://github.com/yaa110/Summa/blob/master/README.md) (the list of filenames should be sorted alphabetically).
- Add a new target to [Makefile](https://github.com/yaa110/Summa/blob/master/Makefile) to build the source code.
- Add source code filename (without extension) to [gitignore file](https://github.com/yaa110/Summa/blob/master/.gitignore).