#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.
Member Function Documentation
◆ address()
|
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()
|
inline |
Returns the length of the TDESocketAddress.
- Returns
- the TDESocketAddress's length
Definition at line 1103 of file kextsock.h.
◆ operator const ::TDESocketAddress *()
|
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 &()
|
inline |
Returns the KAddressInfo's addrinfo.
Definition at line 1049 of file kextsock.h.
◆ operator const addrinfo *()
|
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.
The documentation for this class was generated from the following files: