MCPcopy Create free account
hub / github.com/XTLS/Go / RemoteAddr

Method RemoteAddr

conn.go:156–158  ·  view source on GitHub ↗

RemoteAddr returns the remote network address.

()

Source from the content-addressed store, hash-verified

154
155// RemoteAddr returns the remote network address.
156func (c *Conn) RemoteAddr() net.Addr {
157 return c.conn.RemoteAddr()
158}
159
160// SetDeadline sets the read and write deadlines associated with the connection.
161// A zero value for t means Read and Write will not time out.

Callers 2

loadSessionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected