MCPcopy
hub / github.com/XTLS/REALITY / RemoteAddr

Method RemoteAddr

conn.go:140–142  ·  view source on GitHub ↗

RemoteAddr returns the remote network address.

()

Source from the content-addressed store, hash-verified

138
139// RemoteAddr returns the remote network address.
140func (c *Conn) RemoteAddr() net.Addr {
141 return c.conn.RemoteAddr()
142}
143
144// SetDeadline sets the read and write deadlines associated with the connection.
145// A zero value for t means [Conn.Read] and [Conn.Write] will not time out.

Callers 4

clientSessionCacheKeyMethod · 0.80
ServerFunction · 0.80
handshakeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected