Add support cs2+tcp protocol for xiaomi source

This commit is contained in:
Alex X
2025-12-26 12:53:52 +03:00
parent 212def9ceb
commit 2f470fa518
3 changed files with 211 additions and 95 deletions
+4
View File
@@ -249,6 +249,10 @@ func (c *Conn) WriteAndWait(req []byte, ok func(req, res []byte) bool) ([]byte,
}
}
func (c *Conn) Protocol() string {
return "tutk+udp"
}
func (c *Conn) RemoteAddr() net.Addr {
return c.addr
}