#udp-socket #web-rtc #networking #udp #gamedev #multiplayer-game #wasm

naia-client-socket

Abstraction to expose common API over a UDP socket on Linux, and a unreliable WebRTC datachannel on the browser

31 unstable releases

0.22.0 Jan 10, 2024
0.20.1 Apr 1, 2023
0.20.0 Mar 20, 2023
0.13.1 Nov 19, 2022
0.3.0 Jul 13, 2020

#1657 in Network programming

Download history 97/week @ 2024-02-11 13/week @ 2024-02-18 80/week @ 2024-02-25 34/week @ 2024-03-03 46/week @ 2024-03-10 23/week @ 2024-03-17 2/week @ 2024-03-24 86/week @ 2024-03-31 11/week @ 2024-04-07 13/week @ 2024-04-14 19/week @ 2024-04-21 13/week @ 2024-04-28 9/week @ 2024-05-05

56 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

79KB
1.5K SLoC

Rust 1.5K SLoC // 0.0% comments JavaScript 177 SLoC // 0.0% comments

Naia Client Socket

A Socket abstraction over either a UDP socket on native Linux, or a unreliable WebRTC datachannel on the browser

Dependencies

~1–19MB
~315K SLoC