nbnet

single header C(99) library to implement client-server network code for games

ZLIB License

Stars
434

Bot releases are visible (Hide)

nbnet - 2.0 Latest Release

Published by nathhB 8 months ago

  • native WebRTC driver rework
  • API rework
nbnet - 1.1.3

Published by nathhB about 1 year ago

Changes:

Thank you for your contributions!

nbnet - 1.1.1

Published by nathhB over 1 year ago

Fix a connection issue with the JS WebRTC driver.

nbnet - 1.1

Published by nathhB over 1 year ago

Minor update.

nbnet - 1.0

Published by nathhB over 1 year ago

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!

nbnet - 0.5

Published by nathhB almost 2 years ago

Content of the release:

  • total lost packets added to connection statistics
  • fixed a breaking issue with resending non-acked reliable messages
  • RPCs
nbnet - 0.4.1

Published by nathhB over 2 years ago

Fix an issue in WebRTC drivers when removing peers.

nbnet - 0.4

Published by nathhB over 2 years ago

Rework of internal data structures for connections.

Related issue: https://github.com/nathhB/nbnet/issues/19

nbnet - 0.3

Published by nathhB almost 3 years ago

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.

nbnet - 0.2.4

Published by nathhB almost 3 years ago

nbnet - 0.2.3

Published by nathhB about 3 years ago

0.2.3

nbnet - 0.2.2

Published by nathhB about 3 years ago

nbnet - 0.2.1

Published by nathhB about 3 years ago

nbnet - 0.2.0

Published by nathhB about 3 years ago

C++ support

nbnet - 0.1.0

Published by nathhB over 3 years ago

nbnet - 0.0.4

Published by nathhB over 3 years ago

nbnet - 0.0.3

Published by nathhB over 3 years ago

nbnet - 0.0.2

Published by nathhB about 4 years ago

nbnet - 0.0.1

Published by nathhB about 4 years ago