net.UDPAddr.Port (field)
13 uses
net (current package)
ipsock.go#L274: return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
tcpsock.go#L23: Port int
tcpsock.go#L38: return netip.AddrPortFrom(na, uint16(a.Port))
tcpsock.go#L50: return JoinHostPort(ip+"%"+a.Zone, itoa.Itoa(a.Port))
tcpsock.go#L52: return JoinHostPort(ip, itoa.Itoa(a.Port))
tcpsock.go#L106: Port: int(addr.Port()),
tcpsock_posix.go#L19: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port}
tcpsock_posix.go#L21: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
tcpsock_posix.go#L40: return ipToSockaddr(family, a.IP, a.Port, a.Zone)
tcpsock_posix.go#L44: return &TCPAddr{loopbackIP(net), a.Port, a.Zone}
tcpsock_posix.go#L104: for i := 0; i < 2 && (laddr == nil || laddr.Port == 0) && (selfConnect(fd, err) || spuriousENOTAVAIL(err)); i++ {
tcpsock_posix.go#L136: return l.Port == r.Port && l.IP.Equal(r.IP)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |