mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-31 14:35:37 -05:00
support using specific address
This commit is contained in:
@@ -16,8 +16,8 @@ const (
|
||||
|
||||
// An InboundHandler handles inbound network connections to V2Ray.
|
||||
type InboundHandler interface {
|
||||
// Listen starts a InboundHandler by listen on a specific port.
|
||||
Listen(on v2net.Address, port v2net.Port) error
|
||||
// Listen starts a InboundHandler.
|
||||
Start() error
|
||||
// Close stops the handler to accepting anymore inbound connections.
|
||||
Close()
|
||||
// Port returns the port that the handler is listening on.
|
||||
|
||||
Reference in New Issue
Block a user