]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/ipvaddr.tex
define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard...
[wxWidgets.git] / docs / latex / wx / ipvaddr.tex
index b561a33bb6c4e2370c7b5398bbd523d2543e9210..0f314073a654ee708d7799c44f02230b3f2ac0c5 100644 (file)
@@ -5,7 +5,7 @@
 
 \wxheading{Derived from}
 
-\helpref{wxSockAddress}{wxsockaddress}
+\helpref{wxIPaddress}{wxipaddress}
 
 \wxheading{Include files}
 
@@ -20,7 +20,7 @@
 % Hostname
 %
 
-\membersection{wxIPV4address::Hostname}
+\membersection{wxIPV4address::Hostname}\label{wxipv4addresshostname}
 
 \func{bool}{Hostname}{\param{const wxString\&}{ hostname}}
 
@@ -32,21 +32,25 @@ or an IP-style address in dot notation (a.b.c.d)
 Returns true on success, false if something goes wrong
 (invalid hostname or invalid IP address).
 
+\func{wxString}{Hostname}{\void}
+
+Returns the hostname which matches the IP address.
+
 %
-% Hostname
+% IPAddress
 %
 
-\membersection{wxIPV4address::Hostname}
+\membersection{wxIPV4address::IPAddress}\label{wxipv4addressipaddress}
 
-\func{wxString}{Hostname}{\void}
+\func{wxString}{IPAddress}{\void}
 
-Returns the hostname which matches the IP address.
+Returns a wxString containing the IP address in dot quad (127.0.0.1) format.
 
 %
 % Service
 %
 
-\membersection{wxIPV4address::Service}
+\membersection{wxIPV4address::Service}\label{wxipv4addressservice}
 
 \func{bool}{Service}{\param{const wxString\&}{ service}}
 
@@ -57,12 +61,6 @@ Set the port to that corresponding to the specified {\it service}.
 Returns true on success, false if something goes wrong
 (invalid service).
 
-%
-% Service
-%
-
-\membersection{wxIPV4address::Service}
-
 \func{bool}{Service}{\param{unsigned short}{ service}}
 
 Set the port to that corresponding to the specified {\it service}.
@@ -72,12 +70,6 @@ Set the port to that corresponding to the specified {\it service}.
 Returns true on success, false if something goes wrong
 (invalid service).
 
-%
-% Service
-%
-
-\membersection{wxIPV4address::Service}
-
 \func{unsigned short}{Service}{\void}
 
 Returns the current service.