func (a Addr) EqualIP(b Addr) bool {
	return a.IP.Equal(b.IP)
}
EqualIP returns true if a and b have equal IP addresses.
package proto
import (
	"fmt"
	"net"
)
type Addr struct {
	IP   net.IP
	Port int
}
func (Addr) Network() string { return "turn" }
func (a *Addr) FromUDPAddr(n *net.UDPAddr) {
	a.IP = n.IP
	a.Port = n.Port
}
func (a Addr) Equal(b Addr) bool {
	if a.Port != b.Port {
		return false
	}
	return a.IP.Equal(b.IP)
}