![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cUPnPNAT.h>
Public Member Functions | |
cUPnPNATPort (NET_PORT_t nExternalPort=k_NET_PORT_INVALID, NET_PORT_t nInternalPort=k_NET_PORT_INVALID, IPPROTO_TYPE nProtocolType=IPPROTO_TCP, cString sDescription="") | |
void | CheckDefaults () |
const GChar_t * | get_ProtocolName () const noexcept |
cStringA | getDescFull () const |
(Desc) [Proto:ExtPort] More... | |
Public Attributes | |
NET_PORT_t | m_nExternalPort |
Port mapping external port. What the outside world will see. More... | |
NET_PORT_t | m_nInternalPort |
Port mapping internal port. actual port should be irrelevant. (default = m_nExternalPort) More... | |
IPPROTO_TYPE | m_nProtocolType |
IPPROTO_TCP,IPPROTO_UDP (default = IPPROTO_TCP) More... | |
cString | m_sDescription |
Arbitrary Port mapping description. (default = AppName) More... | |
bool | m_bEnabled |
similar to IStaticPortMapping data
|
inline |
void GrayLib::cUPnPNATPort::CheckDefaults | ( | ) |
|
inlinenoexcept |
cStringA GrayLib::cUPnPNATPort::getDescFull | ( | ) | const |
(Desc) [Proto:ExtPort]
bool GrayLib::cUPnPNATPort::m_bEnabled |
NET_PORT_t GrayLib::cUPnPNATPort::m_nExternalPort |
Port mapping external port. What the outside world will see.
NET_PORT_t GrayLib::cUPnPNATPort::m_nInternalPort |
Port mapping internal port. actual port should be irrelevant. (default = m_nExternalPort)
IPPROTO_TYPE GrayLib::cUPnPNATPort::m_nProtocolType |
IPPROTO_TCP,IPPROTO_UDP (default = IPPROTO_TCP)
cString GrayLib::cUPnPNATPort::m_sDescription |
Arbitrary Port mapping description. (default = AppName)