Releases: nathhB/nbnet
2.0
1.1.3
Changes:
- Fixed undefined behavior by @raisinrand (8c0c894)
- Fixed C++ compilation issues by @AlanParadis (6329fe2)
- Optimization of packets dequeuing in the WebRTC JS driver (a0ee00e)
Thank you for your contributions!
1.1.2
1.1.1
1.1
Minor update.
- Fixed a segfault in UDP driver
- Fix C++ compilation (thank you Mark !)
1.0
Finally 1.0 ! 🎉
This release includes a complete rework of how drivers work in nbnet, making it possible to have multiple drivers in use simultaneously. The release also includes a new native WebRTC driver written in C. This new driver, on top of the rework makes it possible to write nbnet servers that can accept both native and web clients (see this video).
The API has a minor breaking change: drivers now need to be register before starting a nbnet client or server; please refer to the raylib example.
Thank you!
0.5
0.4.1
0.4
0.3
The API has been reworked a little to make it simpler:
NBN_GameClient_Init
, NBN_GameClient_Deinit
, NBN_GameServer_Init
and NBN_GameClient_Deinit
function have been removed. Only NBN_GameClient_Start
, NBN_GameClient_Stop
, NBN_GameServer_Start
and NBN_GameServer_Stop
remain.
NBN_GameClient_Start
and NBN_GameServer_Start
now require a bunch of parameters to configure the application (most of them are the same as the ones that were to NBN_GameClient_Init
and NBN_GameServer_Init
).
A new feature has been added:
Data can now be passed from the client to server (as an arbitrary byte array) during the connection phase through a new NBN_GameClient_Start
's parameter. The data can be read from the server and used to decide whereas to accept or reject the connection.
Cheers,
Nathan.