#udp-socket #web-rtc #networking #udp #gamedev #sockets #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

#1671 in Network programming

Download history 93/week @ 2024-02-10 16/week @ 2024-02-17 75/week @ 2024-02-24 35/week @ 2024-03-02 45/week @ 2024-03-09 24/week @ 2024-03-16 7/week @ 2024-03-23 71/week @ 2024-03-30 24/week @ 2024-04-06 15/week @ 2024-04-13 16/week @ 2024-04-20 14/week @ 2024-04-27 14/week @ 2024-05-04 11/week @ 2024-05-11

57 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