Skip to content

mas-bandwidth-netcodev1.4.3

Updated

A secure client/server protocol for multiplayer games built on top of UDP.

#Usage

mas-bandwidth-netcode provides a static library and header:

find_path(NETCODE_INCLUDE_DIR netcode.h)
find_library(NETCODE_LIBRARY netcode)
target_include_directories(main PRIVATE ${NETCODE_INCLUDE_DIR})
target_link_libraries(main PRIVATE ${NETCODE_LIBRARY})

mas-bandwidth-netcode uses libsodium for encryption and authentication; link it as well:

find_package(unofficial-sodium CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial-sodium::sodium)

On Windows, also link ws2_32 and iphlpapi.

#Supported Platforms

All platforms supported.

#Features

No features defined.

#Dependencies

No transitive dependencies.

#Host Dependencies

and 6 transitive dependencies:

#Host Tool For

No ports use this.

#Contributors

  • Glenn Fiedler's avatarGlenn Fiedler

#Changelog

  • ddd110b[serialize,reliable,netcode,yojimbo] Add new ports (#52858)