Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
76
func
(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
OnRead
Method · 0.80
TestOnDisconnectWhenOnConnect
Function · 0.80
TestServerAcceptWhenTooManyOpenFiles
Function · 0.80
TestConnectionServerClose
Function · 0.80
initNetFD
Method · 0.80
TestDialerTCP
Function · 0.80
TestDialerUnix
Function · 0.80
Calls
no outgoing calls
Tested by
5
TestOnDisconnectWhenOnConnect
Function · 0.64
TestServerAcceptWhenTooManyOpenFiles
Function · 0.64
TestConnectionServerClose
Function · 0.64
TestDialerTCP
Function · 0.64
TestDialerUnix
Function · 0.64