Module stun

Module stun 

Source
Expand description

STUN server for WebRTC NAT traversal

Implements a simple STUN server that responds to binding requests with the client’s reflexive transport address (XOR-MAPPED-ADDRESS).

Structs§

StunServerHandle
STUN server handle for graceful shutdown

Constants§

DEFAULT_STUN_PORT
Default STUN port (RFC 5389)

Functions§

start_stun_server
Start a STUN server on the specified address