handle inbound detour in vmess inbound

This commit is contained in:
v2ray committed 2016-01-19 23:41:40 +01:00
1 parent 573d0a9c29
commit b0adb24003
13 files changed
+163 -75

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ type InboundConnectionHandler interface {
Listen(port v2net.Port) error
// Close stops the handler to accepting anymore inbound connections.
Close()
// Port returns the port that the handler is listening on.
Port() v2net.Port
}
// An OutboundConnectionHandler handles outbound network connection for V2Ray.