{"repo":"nathhB/nbnet","free":true,"listed":false,"github":"https://github.com/nathhB/nbnet","clone":"git clone https://github.com/nathhB/nbnet.git","description":"single header C(99) library to implement client-server network code for games","language":"C","stars":564,"topics":["game-development","udp","webrtc","single-header-lib","single-header","c99","c"],"license":"Zlib","category":"game-templates","readme_excerpt":"nbnet [!IMPORTANT] If you are interested in giving nbnet a try, please consider using version 3.0 (available in 3.0 branch). I'm still working on it, but it's usable already and will be released soon(TM). 3.0 improves a lot of stuff internally and provides a cleaner API. The documentation is lacking (all READMEs are obsolete), but you can look at the examples, which are up to date. nbnet is a single header C (C99) library designed to implement client-server architecture, more precisely for online video games. The library is based on this great series of articles by Glenn Fiedler. nbnet can target different protocols such as UDP or WebRTC through \"drivers\" (see below for more information). The API is meant to be as straightforward as possible and relies on event polling, making it easy to integrate into a game loop. Disclaimer : nbnet is in the early stages of its development and is, first and foremost, a learning project of mine as I explore online game development. If you are looking for a battle-tested, production-ready library, this is probably not the one. You can see nbnet in action in this video. If you want to discuss the library or need help, join the nbnet's discord server. Features - Connection management - Sending/Receiving both reliable ordered and unreliable ordered messages - Sending/Receiving messages larger than the MTU through nbnet's message fragmentation system - Bit-level serialization (for bandwidth optimization): integers (signed and unsigned), floats, b","default_branch":null,"files":null,"tree":[],"storefront":"/r/nathhB","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nathhB/nbnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}