KAddressInfo Class Reference
Contains information about an internet address. More...
#include <kextsock.h>
Public Member Functions | |
operator const KSocketAddress * () const | |
Returns the KAddressInfo's KSocketAddress. | |
operator const addrinfo & () const | |
Returns the KAddressInfo's addrinfo. | |
operator const addrinfo * () const | |
Returns a pointer to KAddressInfo's addrinfo. | |
const KSocketAddress * | address () const |
Returns the KAddressInfo's KSocketAddress. | |
int | flags () const |
Returns the flags of the address info (see getaddrinfo(3)). | |
int | family () const |
Returns the family of the address info (see getaddrinfo(3)). | |
int | socktype () const |
Returns the socket type of the address info (see getaddrinfo(3)). | |
int | protocol () const |
Returns the protocol of the address info (see getaddrinfo(3)). | |
const char * | canonname () const |
Returns the official name of the host (see getaddrinfo(3)). | |
int | length () const |
Returns the length of the KSocketAddress. | |
Friends | |
class | KExtendedSocket |
Detailed Description
Contains information about an internet address.It wraps addrinfo, see getaddrinfo(3) for more information.
Definition at line 971 of file kextsock.h.
Member Function Documentation
|
Returns the KAddressInfo's KSocketAddress. Only valid as long as the KAddressInfo exists. Definition at line 991 of file kextsock.h. |
|
Returns the KAddressInfo's addrinfo.
Definition at line 997 of file kextsock.h. |
|
Returns a pointer to KAddressInfo's addrinfo. Only valid as long as the KAddressInfo exists. Definition at line 1004 of file kextsock.h. |
|
Returns the KAddressInfo's KSocketAddress. Only valid as long as the KAddressInfo exists.
Definition at line 1012 of file kextsock.h. |
|
Returns the flags of the address info (see getaddrinfo(3)).
Definition at line 2466 of file kextsock.cpp. |
|
Returns the family of the address info (see getaddrinfo(3)).
Definition at line 2471 of file kextsock.cpp. |
|
Returns the socket type of the address info (see getaddrinfo(3)).
Definition at line 2476 of file kextsock.cpp. |
|
Returns the protocol of the address info (see getaddrinfo(3)).
Definition at line 2481 of file kextsock.cpp. |
|
Returns the official name of the host (see getaddrinfo(3)). Only valid as long as the KAddressInfo exists.
Definition at line 2486 of file kextsock.cpp. |
|
Returns the length of the KSocketAddress.
Definition at line 1051 of file kextsock.h. References KSocketAddress::size(). |
The documentation for this class was generated from the following files: