Files
tun2socks/core/adapter.go
xjasonlyu dd0cde04b4 Refactor: optimize UDP module
Symmetric NAT support for now.
2022-02-05 15:49:03 +08:00

17 lines
221 B
Go

package core
import (
"net"
)
// TCPConn implements the net.Conn interface.
type TCPConn interface {
net.Conn
}
// UDPConn implements net.Conn and net.PacketConn.
type UDPConn interface {
net.Conn
net.PacketConn
}