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

Method LocalAddrString

ziface/iconnection.go:37–37  ·  view source on GitHub ↗

Get the local address information of the connection (获取连接本地地址信息)

()

Source from the content-addressed store, hash-verified

35 RemoteAddr() net.Addr // Get the remote address information of the connection (获取连接远程地址信息)
36 LocalAddr() net.Addr // Get the local address information of the connection (获取连接本地地址信息)
37 LocalAddrString() string // Get the local address information of the connection as a string
38 RemoteAddrString() string // Get the remote address information of the connection as a string
39
40 Send(data []byte) error // Send data directly to the remote TCP client (without buffering)

Callers 3

onClient1StartFunction · 0.65
onClient2StartFunction · 0.65
onClient3StartFunction · 0.65

Implementers 3

KcpConnectionznet/kcp_connection.go
WsConnectionznet/ws_connection.go
Connectionznet/connection.go

Calls

no outgoing calls

Tested by

no test coverage detected