|
|
Contains information about an internet address. It wraps addrinfo, see getaddrinfo(3) for more information.
~KAddressInfo ()
| ~KAddressInfo |
inline operator const KSocketAddress* ()
| operator const KSocketAddress* |
[const]
Returns the KAddressInfo's KSocketAddress. Only valid as long as the KAddressInfo exists.
inline operator const addrinfo& ()
| operator const addrinfo& |
[const]
Returns the KAddressInfo's addrinfo.
inline operator const addrinfo* ()
| operator const addrinfo* |
[const]
Returns a pointer to KAddressInfo's addrinfo. Only valid as long as the KAddressInfo exists.
inline const KSocketAddress* address ()
| address |
[const]
Returns the KAddressInfo's KSocketAddress. Only valid as long as the KAddressInfo exists.
Returns: the KAddressInfo's KSocketAddress.
int flags ()
| flags |
[const]
Returns the flags of the address info (see getaddrinfo(3)).
Returns: the flags of the addres info.
int family ()
| family |
[const]
Returns the family of the address info (see getaddrinfo(3)).
Returns: the family of the addres info.
int socktype ()
| socktype |
[const]
Returns the socket type of the address info (see getaddrinfo(3)).
Returns: the socket type of the addres info.
int protocol ()
| protocol |
[const]
Returns the protocol of the address info (see getaddrinfo(3)).
Returns: the protocol of the addres info.
const char* canonname ()
| 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
inline int length ()
| length |
[const]
Returns the length of the KSocketAddress.
Returns: the KSocketAddress's length
friend class KExtendedSocket | KExtendedSocket |
Generated by: caleb on tcdevel on Tue Jan 28 12:54:04 2003, using kdoc $. |