KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Private Attributes | List of all members
KviSockaddr Class Reference

#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
 

Constructor & Destructor Documentation

KviSockaddr::KviSockaddr ( const char *  szIpAddress,
kvi_u32_t  uPort,
bool  bIPv6,
bool  bUdp = false 
)
KviSockaddr::KviSockaddr ( kvi_u32_t  uPort,
bool  bIPv6,
bool  bUdp = false 
)
KviSockaddr::~KviSockaddr ( )

Member Function Documentation

int KviSockaddr::addressFamily ( )
size_t KviSockaddr::addressLength ( )
bool KviSockaddr::getStringAddress ( QString &  szBuffer)

References kvi_binaryIpToStringIp().

Referenced by KviIdentDaemon::run().

bool KviSockaddr::isIPv6 ( )
kvi_u32_t KviSockaddr::port ( )
struct sockaddr * KviSockaddr::socketAddress ( )

Member Data Documentation

struct addrinfo* KviSockaddr::m_pData
private

The documentation for this class was generated from the following files: