Finalmask: Add XICMP (relies mKCP/QUIC or WireGuard) (#5633)

https://t.me/projectXtls/1473
This commit is contained in:
LjhAUMEM authored and RPRX committed 2026-02-02 09:12:42 +00:00
1 parent a6ec3b6e70
commit 25d16914ff
8 files changed
+981 -1

No files matched your search

@@ -0,0 +1,16 @@
package xicmp
import (
"net"
)
func (c *Config) UDP() {
}
func (c *Config) WrapPacketConnClient(raw net.PacketConn, first bool, leaveSize int32, end bool) (net.PacketConn, error) {
return NewConnClient(c, raw, end)
}
func (c *Config) WrapPacketConnServer(raw net.PacketConn, first bool, leaveSize int32, end bool) (net.PacketConn, error) {
return NewConnServer(c, raw, end)
}