CreateUDPSocket creates a UDP socket for hole punching
()
| 23 | |
| 24 | // CreateUDPSocket creates a UDP socket for hole punching |
| 25 | func (n *DefaultTraversal) CreateUDPSocket() (*net.UDPConn, int, error) { |
| 26 | return shared.CreateUDPSocket() |
| 27 | } |
| 28 | |
| 29 | // PerformHolePunch performs NAT hole punching with the Lambda |
| 30 | func (n *DefaultTraversal) PerformHolePunch(conn *net.UDPConn, sessionID string, lambdaAddr *net.UDPAddr, timeout time.Duration) error { |
nothing calls this directly
no test coverage detected