class KAddressInfo

# class KAddressInfo | Contains information about an internet address. More...
Definition | `#include <kextsock.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- ~KAddressInfo ()
- inline operator const KSocketAddress* () const
- inline operator const addrinfo& () const
- inline operator const addrinfo* () const
- inline const KSocketAddress* address () const
- int flags () const
- int family () const
- int socktype () const
- int protocol () const
- const char* canonname () const
- inline int length () const

#### Public Members

- friend class KExtendedSocket

## Detailed Description

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: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.