mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
socks5 server implementation
This commit is contained in:
1 parent
361f87df09
commit
e764275c58
5 files changed
+120
-30
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package vemss
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
type VMessHandler struct {
|
||||
}
|
||||
|
||||
func (*VMessHandler) Listen(port uint8) error {
|
||||
_, err := net.Listen("tcp", ":"+string(port))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user