1 % ----------------------------------------------------------------------------
3 % ----------------------------------------------------------------------------
4 \section{\class{wxIPV4address
}}\label{wxipv4address
}
6 \wxheading{Derived from
}
8 \helpref{wxSockAddress
}{wxsockaddress
}
10 \wxheading{Include files
}
14 % ----------------------------------------------------------------------------
16 % ----------------------------------------------------------------------------
18 \latexignore{\rtfignore{\wxheading{Members
}}}
24 \membersection{wxIPV4address::Hostname
}
26 \func{bool
}{Hostname
}{\param{const wxString\&
}{ hostname
}}
28 Use the specified
{\it hostname
} for the address.
30 \wxheading{Return value
}
32 Returns FALSE if something bad happens (invalid hostname, invalid IP address).
38 \membersection{wxIPV4address::Hostname
}
40 \func{wxString
}{Hostname
}{\void}
42 Returns the hostname which matches the IP address.
48 \membersection{wxIPV4address::Service
}
50 \func{bool
}{Service
}{\param{const wxString\&
}{ service
}}
52 Use the specified
{\it service
} string for the address.
54 \wxheading{Return value
}
56 Returns FALSE if something bad happens (invalid service).
62 \membersection{wxIPV4address::Service
}
64 \func{bool
}{Service
}{\param{unsigned short
}{ service
}}
66 Use the specified
{\it service
} for the address.
68 \wxheading{Return value
}
70 Returns FALSE if something bad happens (invalid service).
76 \membersection{wxIPV4address::Service
}
78 \func{unsigned short
}{Service
}{\void}
80 Returns the current service.
86 \membersection{wxIPV4address::LocalHost
}
88 \func{bool
}{LocalHost
}{\void}
90 Initialize peer host to local host.
92 \wxheading{Return value
}
94 Returns FALSE if something bad happens.