mirror of https://github.com/v2ray/v2ray-core
V2Ray
9 years ago
2 changed files with 12 additions and 3 deletions
@ -1,9 +1,19 @@
|
||||
package net |
||||
|
||||
import ( |
||||
"net" |
||||
) |
||||
|
||||
type VMessHandler struct { |
||||
|
||||
} |
||||
|
||||
func (*VMessHandler) Listen(port uint8) error { |
||||
listener, err := net.Listen("tcp", ":" + string(port)) |
||||
if err != nil { |
||||
return err |
||||
} |
||||
|
||||
|
||||
return nil |
||||
} |
||||
|
Loading…
Reference in new issue