.TH "KAddressInfo" 3 "28 Jan 2004" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KAddressInfo \- Contains information about an internet address.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kextsock.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBoperator const KSocketAddress *\fP () const "
.br
.RI "\fIReturns the KAddressInfo's \fBKSocketAddress\fP. \fP"
.ti -1c
.RI "\fBoperator const addrinfo &\fP () const "
.br
.RI "\fIReturns the KAddressInfo's addrinfo. \fP"
.ti -1c
.RI "\fBoperator const addrinfo *\fP () const "
.br
.RI "\fIReturns a pointer to KAddressInfo's addrinfo. \fP"
.ti -1c
.RI "const  \fBKSocketAddress\fP * \fBaddress\fP () const "
.br
.RI "\fIReturns the KAddressInfo's \fBKSocketAddress\fP. \fP"
.ti -1c
.RI "int \fBflags\fP () const "
.br
.RI "\fIReturns the flags of the address info (see getaddrinfo(3)). \fP"
.ti -1c
.RI "int \fBfamily\fP () const "
.br
.RI "\fIReturns the family of the address info (see getaddrinfo(3)). \fP"
.ti -1c
.RI "int \fBsocktype\fP () const "
.br
.RI "\fIReturns the socket type of the address info (see getaddrinfo(3)). \fP"
.ti -1c
.RI "int \fBprotocol\fP () const "
.br
.RI "\fIReturns the protocol of the address info (see getaddrinfo(3)). \fP"
.ti -1c
.RI "const  char * \fBcanonname\fP () const "
.br
.RI "\fIReturns the official name of the host (see getaddrinfo(3)). \fP"
.ti -1c
.RI "int \fBlength\fP () const "
.br
.RI "\fIReturns the length of the \fBKSocketAddress\fP. \fP"
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKExtendedSocket\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Contains information about an internet address. 

It wraps addrinfo, see getaddrinfo(3) for more information. 
.PP
Definition at line 971 of file kextsock.h.
.SH "Member Function Documentation"
.PP 
.SS "KAddressInfo::operator const \fBKSocketAddress\fP * () const\fC [inline]\fP"
.PP
Returns the KAddressInfo's \fBKSocketAddress\fP. Only valid as long as the KAddressInfo exists. Definition at line 991 of file kextsock.h.
.SS "KAddressInfo::operator const addrinfo & () const\fC [inline]\fP"
.PP
Returns the KAddressInfo's addrinfo. Definition at line 997 of file kextsock.h.
.SS "KAddressInfo::operator const addrinfo * () const\fC [inline]\fP"
.PP
Returns a pointer to KAddressInfo's addrinfo. Only valid as long as the KAddressInfo exists. Definition at line 1004 of file kextsock.h.
.SS "const \fBKSocketAddress\fP* KAddressInfo::address () const\fC [inline]\fP"
.PP
Returns the KAddressInfo's \fBKSocketAddress\fP. Only valid as long as the KAddressInfo exists. 
.PP
\fBReturns:\fP
.RS 4
the KAddressInfo's \fBKSocketAddress\fP. 
.RE
.PP
Definition at line 1012 of file kextsock.h.
.SS "int KAddressInfo::flags () const"
.PP
Returns the flags of the address info (see getaddrinfo(3)). \fBReturns:\fP
.RS 4
the flags of the addres info. 
.RE
.PP
Definition at line 2470 of file kextsock.cpp.
.SS "int KAddressInfo::family () const"
.PP
Returns the family of the address info (see getaddrinfo(3)). \fBReturns:\fP
.RS 4
the family of the addres info. 
.RE
.PP
Definition at line 2475 of file kextsock.cpp.
.SS "int KAddressInfo::socktype () const"
.PP
Returns the socket type of the address info (see getaddrinfo(3)). \fBReturns:\fP
.RS 4
the socket type of the addres info. 
.RE
.PP
Definition at line 2480 of file kextsock.cpp.
.SS "int KAddressInfo::protocol () const"
.PP
Returns the protocol of the address info (see getaddrinfo(3)). \fBReturns:\fP
.RS 4
the protocol of the addres info. 
.RE
.PP
Definition at line 2485 of file kextsock.cpp.
.SS "const  char * KAddressInfo::canonname () const"
.PP
Returns the official name of the host (see getaddrinfo(3)). Only valid as long as the KAddressInfo exists. 
.PP
\fBReturns:\fP
.RS 4
the official name of the host 
.RE
.PP
Definition at line 2490 of file kextsock.cpp.
.SS "int KAddressInfo::length () const\fC [inline]\fP"
.PP
Returns the length of the \fBKSocketAddress\fP. \fBReturns:\fP
.RS 4
the KSocketAddress's length 
.RE
.PP
Definition at line 1051 of file kextsock.h.
.PP
References KSocketAddress::size().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
