package
0.0.0-20170802220503-19f41278d0c9
Repository: https://github.com/willscott/goturn.git
Documentation: pkg.go.dev

# README

Stun IP address example

This example uses the STUN protocol to determine the externally visible address of a locally bound port. In particular, it demonstrates the construction and sending of a STUN request, and the parsing of a received reply.

Usage

go run main.go [--server stun.l.google.com:19302]

The response IP address will be logged to stdout.