Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).