MCPcopy
hub / github.com/xjasonlyu/tun2socks / TCPConn

Interface TCPConn

core/adapter/adapter.go:10–15  ·  view source on GitHub ↗

TCPConn implements the net.Conn interface.

Source from the content-addressed store, hash-verified

8
9// TCPConn implements the net.Conn interface.
10type TCPConn interface {
11 net.Conn
12
13 // ID returns the transport endpoint id of TCPConn.
14 ID() *stack.TransportEndpointID
15}
16
17// UDPConn implements net.Conn and net.PacketConn.
18type UDPConn interface {

Callers 3

withUDPHandlerFunction · 0.65
withTCPHandlerFunction · 0.65
closeConnectionFunction · 0.65

Implementers 4

udpConncore/udp.go
tcpConncore/tcp.go
tcpTrackertunnel/statistic/tracker.go
udpTrackertunnel/statistic/tracker.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…