• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Public Member Functions | Friends | List of all members
KAddressInfo Class Reference

#include <kextsock.h>

Public Member Functions

TDE_DEPRECATED operator const ::TDESocketAddress * () const
 
TDE_DEPRECATED operator const addrinfo & () const
 
TDE_DEPRECATED operator const addrinfo * () const
 
TDE_DEPRECATEDconst ::TDESocketAddress * address () const
 
int flags () const TDE_DEPRECATED
 
int family () const TDE_DEPRECATED
 
int socktype () const TDE_DEPRECATED
 
int protocol () const TDE_DEPRECATED
 
const char * canonname () const TDE_DEPRECATED
 
int length () const
 

Friends

class KExtendedSocket
 

Detailed Description

Deprecated:
This class is now deprecated. Please see KNetwork::KResolver for the new API.

Contains information about an internet address. It wraps addrinfo, see getaddrinfo(3) for more information.

Definition at line 1023 of file kextsock.h.

Constructor & Destructor Documentation

◆ ~KAddressInfo()

KAddressInfo::~KAddressInfo ( )

Definition at line 2200 of file kextsock.cpp.

Member Function Documentation

◆ address()

TDE_DEPRECATEDconst ::TDESocketAddress * KAddressInfo::address ( ) const
inline

Returns the KAddressInfo's TDESocketAddress.

Only valid as long as the KAddressInfo exists.

Returns
the KAddressInfo's TDESocketAddress.

Definition at line 1064 of file kextsock.h.

◆ canonname()

const char * KAddressInfo::canonname ( ) const

Returns the official name of the host (see getaddrinfo(3)).

Only valid as long as the KAddressInfo exists.

Returns
the official name of the host

Definition at line 2233 of file kextsock.cpp.

◆ family()

int KAddressInfo::family ( ) const

Returns the family of the address info (see getaddrinfo(3)).

Returns
the family of the addres info.

Definition at line 2218 of file kextsock.cpp.

◆ flags()

int KAddressInfo::flags ( ) const

Returns the flags of the address info (see getaddrinfo(3)).

Returns
the flags of the addres info.

Definition at line 2213 of file kextsock.cpp.

◆ length()

int KAddressInfo::length ( ) const
inline

Returns the length of the TDESocketAddress.

Returns
the TDESocketAddress's length

Definition at line 1103 of file kextsock.h.

◆ operator const ::TDESocketAddress *()

TDE_DEPRECATED KAddressInfo::operator const ::TDESocketAddress * ( ) const
inline

Returns the KAddressInfo's TDESocketAddress.

Only valid as long as the KAddressInfo exists.

Definition at line 1043 of file kextsock.h.

◆ operator const addrinfo &()

TDE_DEPRECATED KAddressInfo::operator const addrinfo & ( ) const
inline

Returns the KAddressInfo's addrinfo.

Definition at line 1049 of file kextsock.h.

◆ operator const addrinfo *()

TDE_DEPRECATED KAddressInfo::operator const addrinfo * ( ) const
inline

Returns a pointer to KAddressInfo's addrinfo.

Only valid as long as the KAddressInfo exists.

Definition at line 1056 of file kextsock.h.

◆ protocol()

int KAddressInfo::protocol ( ) const

Returns the protocol of the address info (see getaddrinfo(3)).

Returns
the protocol of the addres info.

Definition at line 2228 of file kextsock.cpp.

◆ socktype()

int KAddressInfo::socktype ( ) const

Returns the socket type of the address info (see getaddrinfo(3)).

Returns
the socket type of the addres info.

Definition at line 2223 of file kextsock.cpp.

Friends And Related Function Documentation

◆ KExtendedSocket

friend class KExtendedSocket
friend

Definition at line 1106 of file kextsock.h.


The documentation for this class was generated from the following files:
  • kextsock.h
  • kextsock.cpp

tdecore

Skip menu "tdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.