Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhongruoyu/csockets
A collection of socket programming implementations in C.
https://github.com/zhongruoyu/csockets
c network socket tcp udp
Last synced: 12 days ago
JSON representation
A collection of socket programming implementations in C.
- Host: GitHub
- URL: https://github.com/zhongruoyu/csockets
- Owner: ZhongRuoyu
- License: mit
- Created: 2022-03-13T18:08:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-25T13:59:51.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T02:34:26.469Z (2 months ago)
- Topics: c, network, socket, tcp, udp
- Language: C
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csockets
This is a collection of socket programming implementations in C. The implementations are based on [Berkeley sockets](https://en.wikipedia.org/wiki/Berkeley_sockets).
## Catalogue
### TCP
- [TCP server](src/tcp/server.c)
- [TCP client](src/tcp/client.c)### UDP
- [UDP server](src/udp/server.c)
- [UDP client](src/udp/client.c)### Utilities
- [Hostname to IP address](src/utils/showip.c)
## References
The implementations in this repository are made possible thanks to the inspiration from [Beej's Guide to Network Programming](https://beej.us/guide/bgnet/html/).
## License
Copyright (c) 2022 Zhong Ruoyu. Licensed under [the MIT License](LICENSE).