KVIrc
4.9.2
DeveloperAPIs
|
#include "kvi_settings.h"
#include "kvi_inttypes.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "KviCString.h"
Go to the source code of this file.
Classes | |
class | KviSockaddr |
Namespaces | |
KviNetUtils | |
Functions | |
bool | KviNetUtils::binaryIpToStringIp (struct in_addr in, QString &szBuffer) |
void | KviNetUtils::formatNetworkBandwidthString (QString &szBuffer, unsigned int uBytesPerSec) |
bool | KviNetUtils::getInterfaceAddress (const QString &, QString &) |
COMPILE_GET_INTERFACE_ADDRESS. More... | |
bool | KviNetUtils::isRoutableIp (const char *ipaddr) |
bool | KviNetUtils::isRoutableIpString (const QString &szIpString) |
bool | KviNetUtils::isValidStringIp (const QString &szIp) |
KVILIB_API bool | kvi_getLocalHostAddress (QString &buffer) |
KVILIB_API bool | kvi_isRoutableIp (const char *ipaddr) |
KVILIB_API bool | kvi_isRoutableIpString (const char *ipstring) |
KVILIB_API bool | kvi_select (int fd, bool *bCanRead, bool *bCanWrite, int iUSecs=0) |
bool | KviNetUtils::stringIpToBinaryIp (const QString &szStringIp, struct in_addr *address) |
KVILIB_API bool kvi_getLocalHostAddress | ( | QString & | buffer | ) |
References h, kvi_binaryIpToStringIp(), and kvi_isRoutableIp().
Referenced by dcc_kvs_get_listen_ip_address(), and upnp_kvs_cmd_addPortMapping().
KVILIB_API bool kvi_isRoutableIp | ( | const char * | ipaddr | ) |
Referenced by kvi_getLocalHostAddress(), and kvi_isRoutableIpString().
KVILIB_API bool kvi_isRoutableIpString | ( | const char * | ipstring | ) |
References kvi_isRoutableIp(), and kvi_stringIpToBinaryIp().
Referenced by DccChatWindow::connectionInProgress().
KVILIB_API bool kvi_select | ( | int | fd, |
bool * | bCanRead, | ||
bool * | bCanWrite, | ||
int | iUSecs = 0 |
||
) |