Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BareRose/swrap
Portable, single-file, protocol-agnostic TCP and UDP socket wrapper, primarily for game networking
https://github.com/BareRose/swrap
Last synced: about 2 months ago
JSON representation
Portable, single-file, protocol-agnostic TCP and UDP socket wrapper, primarily for game networking
- Host: GitHub
- URL: https://github.com/BareRose/swrap
- Owner: BareRose
- License: cc0-1.0
- Created: 2018-04-04T09:13:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T07:04:17.000Z (over 5 years ago)
- Last Synced: 2024-05-02T19:21:51.801Z (8 months ago)
- Language: C
- Homepage:
- Size: 14.6 KB
- Stars: 70
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - swrap - file, protocol-agnostic TCP and UDP socket wrapper, primarily for game networking (Networking)
README
## Documentation
This is a header-only library, as such most of its functional documentation is contained within the "header section" of the
source code in the form of comments. It is highly recommended that you read said documentation before using this library.## Features
The swrap library provides a cross-platform socket wrapper with automatic protocol-agnosticity, its features include:
- Encapsulates platform-specific socket implementations for both Windows and POSIX systems
- Future-proof protocol-agnosticity thanks to the system-internal getaddrinfo function
- Includes select and multi-select functions with timeouts in double seconds## Attribution
You are not required to give attribution when using this library. If you want to give attribution anyway, either link to
this repository, [my website](https://www.slopegames.com/), or credit me as [BareRose](https://github.com/BareRose).
If you want to support me financially, consider giving to my [Patreon](https://www.patreon.com/slopegames).## License
Licensed under CC0 aka the most lawyer-friendly way of spelling "public domain".