type net.TCPAddr
43 uses
net (current package)
dial.go#L287: tcp *TCPAddr
dial.go#L293: case *TCPAddr:
dial.go#L309: case *TCPAddr:
dial.go#L422: testHookDialTCP func(ctx context.Context, net string, laddr, raddr *TCPAddr) (*TCPConn, error)
dial.go#L644: case *TCPAddr:
dial.go#L645: la, _ := la.(*TCPAddr)
dial.go#L728: case *TCPAddr:
file_unix.go#L76: case *TCPAddr:
file_unix.go#L95: case *TCPAddr:
hook.go#L14: testHookDialTCP func(ctx context.Context, net string, laddr, raddr *TCPAddr) (*TCPConn, error)
ipsock.go#L65: case *TCPAddr:
ipsock.go#L274: return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
ipsock_posix.go#L36: laddr TCPAddr
ipsock_posix.go#L40: {laddr: TCPAddr{IP: ParseIP("::1")}, value: 1},
ipsock_posix.go#L42: {laddr: TCPAddr{IP: IPv4(127, 0, 0, 1)}, value: 0},
mptcpsock_linux.go#L54: func (sd *sysDialer) dialMPTCP(ctx context.Context, laddr, raddr *TCPAddr) (*TCPConn, error) {
mptcpsock_linux.go#L70: func (sl *sysListener) listenMPTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
tcpsock.go#L21: type TCPAddr struct {
tcpsock.go#L32: func (a *TCPAddr) AddrPort() netip.AddrPort {
tcpsock.go#L42: func (a *TCPAddr) Network() string { return "tcp" }
tcpsock.go#L44: func (a *TCPAddr) String() string {
tcpsock.go#L55: func (a *TCPAddr) isWildcard() bool {
tcpsock.go#L62: func (a *TCPAddr) opAddr() Addr {
tcpsock.go#L84: func ResolveTCPAddr(network, address string) (*TCPAddr, error) {
tcpsock.go#L96: return addrs.forResolve(network, address).(*TCPAddr), nil
tcpsock.go#L102: func TCPAddrFromAddrPort(addr netip.AddrPort) *TCPAddr {
tcpsock.go#L103: return &TCPAddr{
tcpsock.go#L260: func DialTCP(network string, laddr, raddr *TCPAddr) (*TCPConn, error) {
tcpsock.go#L378: func ListenTCP(network string, laddr *TCPAddr) (*TCPListener, error) {
tcpsock.go#L385: laddr = &TCPAddr{}
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#L26: func (a *TCPAddr) family() int {
tcpsock_posix.go#L36: func (a *TCPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
tcpsock_posix.go#L43: func (a *TCPAddr) toLocal(net string) sockaddr {
tcpsock_posix.go#L44: return &TCPAddr{loopbackIP(net), a.Port, a.Zone}
tcpsock_posix.go#L57: func (sd *sysDialer) dialTCP(ctx context.Context, laddr, raddr *TCPAddr) (*TCPConn, error) {
tcpsock_posix.go#L67: func (sd *sysDialer) doDialTCP(ctx context.Context, laddr, raddr *TCPAddr) (*TCPConn, error) {
tcpsock_posix.go#L71: func (sd *sysDialer) doDialTCPProto(ctx context.Context, laddr, raddr *TCPAddr, proto int) (*TCPConn, error) {
tcpsock_posix.go#L134: l := fd.laddr.(*TCPAddr)
tcpsock_posix.go#L135: r := fd.raddr.(*TCPAddr)
tcpsock_posix.go#L171: func (sl *sysListener) listenTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
tcpsock_posix.go#L175: func (sl *sysListener) listenTCPProto(ctx context.Context, laddr *TCPAddr, proto int) (*TCPListener, error) {
|
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. |