KVIrc
4.9.2
DeveloperAPIs
|
#include <KviNetUtils.h>
Public Member Functions | |
int | addressFamily () |
size_t | addressLength () |
bool | getStringAddress (QString &szBuffer) |
bool | isIPv6 () |
KviSockaddr (const char *szIpAddress, kvi_u32_t uPort, bool bIPv6, bool bUdp=false) | |
KviSockaddr (kvi_u32_t uPort, bool bIPv6, bool bUdp=false) | |
kvi_u32_t | port () |
struct sockaddr * | socketAddress () |
~KviSockaddr () | |
Private Attributes | |
struct addrinfo * | m_pData |
KviSockaddr::KviSockaddr | ( | const char * | szIpAddress, |
kvi_u32_t | uPort, | ||
bool | bIPv6, | ||
bool | bUdp = false |
||
) |
References KviCString::Format, KviCString::ptr(), and KviMemory::set().
KviSockaddr::KviSockaddr | ( | kvi_u32_t | uPort, |
bool | bIPv6, | ||
bool | bUdp = false |
||
) |
References KviCString::Format, KviCString::ptr(), and KviMemory::set().
KviSockaddr::~KviSockaddr | ( | ) |
int KviSockaddr::addressFamily | ( | ) |
size_t KviSockaddr::addressLength | ( | ) |
Referenced by DccMarshal::doListen(), KviIdentDaemon::run(), and KviIrcSocket::startConnection().
bool KviSockaddr::getStringAddress | ( | QString & | szBuffer | ) |
References kvi_binaryIpToStringIp().
Referenced by KviIdentDaemon::run().
bool KviSockaddr::isIPv6 | ( | ) |
kvi_u32_t KviSockaddr::port | ( | ) |
Referenced by DccMarshal::doListen(), and KviIdentDaemon::run().
struct sockaddr * KviSockaddr::socketAddress | ( | ) |
Referenced by DccMarshal::doListen(), KviIdentDaemon::run(), and KviIrcSocket::startConnection().
|
private |