Page 1 of 1

HumbleNet: cross platform (+ browser) C networking library

PostPosted: 30 Jun 2017, 03:20
by c_xong
https://hacks.mozilla.org/2017/06/intro ... e-browser/

:bsd:

HumbleNet was just released; it's a C cross-platform library for networking, wrapping WebRTC (i.e. UDP) connections so that you can use a single library to network a game running on desktop (Windows, Linux, macOS) or inside a browser. Peer discovery is done via WebSockets (i.e. TCP).

Has anyone checked it out? Looks like a useful library but is lower level than enet, which handles more than just sending/receiving data, and is more mature. Also there's enet-emscripten but I'm not sure how well that works. I wonder if enet can incorporate HumbleNet to support browser platforms?