MCPcopy
hub / github.com/aceld/zinx / RemoteAddr

Method RemoteAddr

znet/kcp_connection.go:343–345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341}
342
343func (c *KcpConnection) RemoteAddr() net.Addr {
344 return c.conn.RemoteAddr()
345}
346
347func (c *KcpConnection) LocalAddr() net.Addr {
348 return c.conn.LocalAddr()

Callers 2

StartWriterMethod · 0.95
StartReaderMethod · 0.95

Calls 1

RemoteAddrMethod · 0.65

Tested by

no test coverage detected