Skip to content

Stable Release

Choose a tag to compare

@gafferongames gafferongames released this 11 Jul 22:09
fbb22f8

netcode 1.3.5

  • Added FreeBSD and OpenBSD support: the time/sleep platform block now covers all unix systems via NETCODE_PLATFORM_UNIX, falling back to CLOCK_MONOTONIC where the linux-specific CLOCK_MONOTONIC_RAW is not available
  • Socket send/receive buffer sizes now back off to the OS limit instead of failing: the BSDs reject SO_SNDBUF/SO_RCVBUF requests above the OS limit (e.g. OpenBSD's default sb_max is 2MB) instead of clamping like linux and windows, so the default 4MB request made every socket create fail there. The request is halved until accepted (floor 256KB), with an INFO log when reduced
  • No behavior change on linux, macOS or windows