1. Home
  2. Browse
  3. mas-bandwidth-yojimbo

mas-bandwidth-yojimbo

v1.9.0#0Latest

A network library for client/server games written in C++, designed around the networking requirements of competitive multiplayer games.

Install

Run the following Vcpkg command to install the port.

vcpkg install mas-bandwidth-yojimbo

Usage

mas-bandwidth-yojimbo provides a static library and headers:

find_path(YOJIMBO_INCLUDE_DIR yojimbo.h)
find_library(YOJIMBO_LIBRARY yojimbo)
find_library(NETCODE_LIBRARY netcode)
find_library(RELIABLE_LIBRARY reliable)
find_library(TLSF_LIBRARY tlsf)
find_package(unofficial-sodium CONFIG REQUIRED)
target_include_directories(main PRIVATE ${YOJIMBO_INCLUDE_DIR})
target_link_libraries(main PRIVATE
    ${YOJIMBO_LIBRARY}
    ${NETCODE_LIBRARY}
    ${RELIABLE_LIBRARY}
    ${TLSF_LIBRARY}
    unofficial-sodium::sodium)

On Windows, also link ws2_32 and iphlpapi.

Dependencies

See source

Version

v1.9.0#0

Publication

Supports

All

GitHub

mas-bandwidth/yojimbo2.7K

Homepage

github.com/mas-bandwidth/yojimbo

Subtree

ddd110b8a0

License

BSD-3-Clause

Definition

Manifest