#web-rtc #udp-server #udp #networking #server #gamedev #sockets

naia-server-socket

An abstraction to provide a common API over either a UDP socket or a service that can establish WebRTC connections

28 releases

0.22.0 Jan 10, 2024
0.20.0 Mar 20, 2023
0.15.1 Mar 10, 2023
0.13.0 Sep 18, 2022
0.3.0 Jul 13, 2020

#2123 in Network programming

Download history 5/week @ 2024-01-15 46/week @ 2024-02-12 47/week @ 2024-02-19 98/week @ 2024-02-26 38/week @ 2024-03-04 51/week @ 2024-03-11 41/week @ 2024-03-18 5/week @ 2024-03-25 96/week @ 2024-04-01 16/week @ 2024-04-08 24/week @ 2024-04-15 26/week @ 2024-04-22 17/week @ 2024-04-29

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

MIT/Apache

48KB
1K SLoC

Naia Server Socket

Provides an abstraction of a Socket capable of sending/receiving to many clients, using either an underlying UdpSocket or a service that can communicate via unreliable WebRTC datachannels

Dependencies

~9–19MB
~305K SLoC