public interface PortMapper
| Modifier and Type | Method and Description |
|---|---|
void |
mapPort(int port,
String address,
PortMapProtocol protocol,
String mappingDescription)
Map port for incoming connections on network gateway.
|
void mapPort(int port,
String address,
PortMapProtocol protocol,
String mappingDescription)
port - mapped port;address - address to which incoming connections will be forwarded (usually address of current computer);protocol - network protocol, which will be used on mapped port (TCP/UDP);mappingDescription - description of the mapping, which will be displayed on network gateway device;Copyright © 2016–2021. All rights reserved.