HumbleNet: cross platform (+ browser) C networking library

HumbleNet: cross platform (+ browser) C networking library

Postby c_xong » 30 Jun 2017, 03:20

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?
User avatar
c_xong
 
Posts: 202
Joined: 06 Sep 2013, 04:33

Re: HumbleNet: cross platform (+ browser) C networking libra

Postby Lyberta » 30 Jun 2017, 11:57

Using WebRTC for UDP looks like a horrible hack but I guess people who write browser games will find it useful.
Some crazy person on the Internet.
User avatar
Lyberta
 
Posts: 308
Joined: 19 Jun 2013, 10:45

Who is online

Users browsing this forum: No registered users and 1 guest