type net.UDPAddr
54 uses
net (current package)
addrselect.go#L45: dst := UDPAddr{Port: 9}
addrselect.go#L51: if src, ok := c.LocalAddr().(*UDPAddr); ok {
dial.go#L288: udp *UDPAddr
dial.go#L296: case *UDPAddr:
dial.go#L314: case *UDPAddr:
dial.go#L651: case *UDPAddr:
dial.go#L652: la, _ := la.(*UDPAddr)
dial.go#L762: case *UDPAddr:
file_unix.go#L78: case *UDPAddr:
file_unix.go#L110: case *UDPAddr:
ipsock.go#L67: case *UDPAddr:
ipsock.go#L276: return &UDPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
sock_posix.go#L213: case *UDPAddr:
udpsock.go#L24: type UDPAddr struct {
udpsock.go#L35: func (a *UDPAddr) AddrPort() netip.AddrPort {
udpsock.go#L45: func (a *UDPAddr) Network() string { return "udp" }
udpsock.go#L47: func (a *UDPAddr) String() string {
udpsock.go#L58: func (a *UDPAddr) isWildcard() bool {
udpsock.go#L65: func (a *UDPAddr) opAddr() Addr {
udpsock.go#L87: func ResolveUDPAddr(network, address string) (*UDPAddr, error) {
udpsock.go#L99: return addrs.forResolve(network, address).(*UDPAddr), nil
udpsock.go#L105: func UDPAddrFromAddrPort(addr netip.AddrPort) *UDPAddr {
udpsock.go#L106: return &UDPAddr{
udpsock.go#L136: func (c *UDPConn) ReadFromUDP(b []byte) (n int, addr *UDPAddr, err error) {
udpsock.go#L141: return c.readFromUDP(b, &UDPAddr{})
udpsock.go#L145: func (c *UDPConn) readFromUDP(b []byte, addr *UDPAddr) (int, *UDPAddr, error) {
udpsock.go#L158: n, addr, err := c.readFromUDP(b, &UDPAddr{})
udpsock.go#L189: func (c *UDPConn) ReadMsgUDP(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
udpsock.go#L211: func (c *UDPConn) WriteToUDP(b []byte, addr *UDPAddr) (int, error) {
udpsock.go#L239: a, ok := addr.(*UDPAddr)
udpsock.go#L258: func (c *UDPConn) WriteMsgUDP(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
udpsock.go#L290: func DialUDP(network string, laddr, raddr *UDPAddr) (*UDPConn, error) {
udpsock.go#L316: func ListenUDP(network string, laddr *UDPAddr) (*UDPConn, error) {
udpsock.go#L323: laddr = &UDPAddr{}
udpsock.go#L353: func ListenMulticastUDP(network string, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error) {
udpsock_posix.go#L18: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port}
udpsock_posix.go#L20: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
udpsock_posix.go#L25: func (a *UDPAddr) family() int {
udpsock_posix.go#L35: func (a *UDPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
udpsock_posix.go#L42: func (a *UDPAddr) toLocal(net string) sockaddr {
udpsock_posix.go#L43: return &UDPAddr{loopbackIP(net), a.Port, a.Zone}
udpsock_posix.go#L46: func (c *UDPConn) readFrom(b []byte, addr *UDPAddr) (int, *UDPAddr, error) {
udpsock_posix.go#L55: *addr = UDPAddr{IP: ip[:], Port: from.Port}
udpsock_posix.go#L62: *addr = UDPAddr{IP: ip[:], Port: from.Port, Zone: zoneCache.name(int(from.ZoneId))}
udpsock_posix.go#L113: func (c *UDPConn) writeTo(b []byte, addr *UDPAddr) (int, error) {
udpsock_posix.go#L165: func (c *UDPConn) writeMsg(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
udpsock_posix.go#L205: func (sd *sysDialer) dialUDP(ctx context.Context, laddr, raddr *UDPAddr) (*UDPConn, error) {
udpsock_posix.go#L219: func (sl *sysListener) listenUDP(ctx context.Context, laddr *UDPAddr) (*UDPConn, error) {
udpsock_posix.go#L233: func (sl *sysListener) listenMulticastUDP(ctx context.Context, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error) {
github.com/gotd/neo
net.go#L38: if u, ok := a.(*net.UDPAddr); ok {
net.go#L170: func (n *Net) ResolveUDPAddr(network, address string) (*net.UDPAddr, error) {
net.go#L171: a := &net.UDPAddr{
|
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. |