Registry / networking / pion-udp-v2

pion-udp-v2

JSON →
library2.0.1gogounverified

A Go library for UDP networking, providing a simple API for sending and receiving UDP packets.

go get github.com/pion/udp/v2
INSTALL
IMPORT
SIG · PION-UDP-V2
P
pion-udp-v2
networkinggov2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

udp
github.com/pion/udp/v2

Create a UDP listener and print the local address.

package main import ( "fmt" "github.com/pion/udp/v2" ) func main() { conn, err := udp.Listen("0.0.0.0:0") if err != nil { panic(err) } defer conn.Close() fmt.Println("Listening on", conn.LocalAddr()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pion-udp-v2 — go get pion-udp-v2 · libregistry