KVIrc  4.9.2
DeveloperAPIs
Functions
KviNetUtils Namespace Reference

Functions

bool binaryIpToStringIp (struct in_addr in, QString &szBuffer)
 
void formatNetworkBandwidthString (QString &szBuffer, unsigned int uBytesPerSec)
 
bool getInterfaceAddress (const QString &, QString &)
 COMPILE_GET_INTERFACE_ADDRESS. More...
 
bool isRoutableIp (const char *ipaddr)
 
bool isRoutableIpString (const QString &szIpString)
 
bool isValidStringIp (const QString &szIp)
 
bool stringIpToBinaryIp (const QString &szStringIp, struct in_addr *address)
 

Function Documentation

KVILIB_API bool KviNetUtils::binaryIpToStringIp ( struct in_addr  in,
QString &  szBuffer 
)
KVILIB_API void KviNetUtils::formatNetworkBandwidthString ( QString &  szBuffer,
unsigned int  uBytesPerSec 
)
KVILIB_API bool KviNetUtils::getInterfaceAddress ( const QString &  ,
QString &   
)

COMPILE_GET_INTERFACE_ADDRESS.

COMPILE_GET_INTERFACE_ADDRESS

Referenced by dcc_kvs_get_listen_ip_address(), dcc_kvs_parse_default_parameters(), and KviIrcConnectionTargetResolver::validateLocalAddress().

KVILIB_API bool KviNetUtils::isRoutableIp ( const char *  ipaddr)

Referenced by isRoutableIpString().

KVILIB_API bool KviNetUtils::isRoutableIpString ( const QString &  szIpString)
KVILIB_API bool KviNetUtils::isValidStringIp ( const QString &  szIp)
KVILIB_API bool KviNetUtils::stringIpToBinaryIp ( const QString &  szStringIp,
struct in_addr *  address 
)