MCPcopy Create free account
hub / github.com/cloudwego/netpoll / RemoteAddr

Method RemoteAddr

net_netfd_conn.go:76–78  ·  view source on GitHub ↗

RemoteAddr implements Conn.

()

Source from the content-addressed store, hash-verified

74
75// RemoteAddr implements Conn.
76func (c *netFD) RemoteAddr() (addr net.Addr) {
77 return c.remoteAddr
78}
79
80// SetKeepAlive implements Conn.
81// TODO: only tcp conn is ok.

Callers 7

OnReadMethod · 0.80
initNetFDMethod · 0.80
TestDialerTCPFunction · 0.80
TestDialerUnixFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestDialerTCPFunction · 0.64
TestDialerUnixFunction · 0.64