socks5 server implementation

This commit is contained in:
V2Ray committed 2015-09-09 12:13:52 +02:00
1 parent 361f87df09
commit e764275c58
5 files changed
+120 -30

No files matched your search

+17
View File
@@ -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
}