syscall.SockaddrInet4.Port (field)
11 uses
syscall (current package)
syscall_bsd.go#L162: if sa.Port < 0 || sa.Port > 0xFFFF {
syscall_bsd.go#L168: p[0] = byte(sa.Port >> 8)
syscall_bsd.go#L169: p[1] = byte(sa.Port)
syscall_bsd.go#L268: sa.Port = int(p[0])<<8 + int(p[1])
syscall_unix.go#L232: Port int
net
ipsock_posix.go#L154: sa := &syscall.SockaddrInet4{Port: port}
tcpsock_posix.go#L19: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port}
udpsock_posix.go#L17: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port}
udpsock_posix.go#L50: addr = &UDPAddr{IP: sa.Addr[0:], Port: sa.Port}
udpsock_posix.go#L62: addr = &UDPAddr{IP: sa.Addr[0:], Port: sa.Port}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |