X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457e6c54a28bc20cf347ba921755d7d5b296aa2a..e815120e412d91e79c98dd0afac2a1e399f10810:/docs/latex/wx/ipvaddr.tex?ds=sidebyside diff --git a/docs/latex/wx/ipvaddr.tex b/docs/latex/wx/ipvaddr.tex index 1e2fddfdb5..74bc9787b3 100644 --- a/docs/latex/wx/ipvaddr.tex +++ b/docs/latex/wx/ipvaddr.tex @@ -5,7 +5,9 @@ \wxheading{Derived from} -\helpref{wxSockAddress}{wxsockaddress} +\helpref{wxIPaddress}{wxipaddress}\\ +\helpref{wxSockAddress}{wxsockaddress}\\ +\helpref{wxObject}{wxobject} \wxheading{Include files} @@ -20,7 +22,7 @@ % Hostname % -\membersection{wxIPV4address::Hostname} +\membersection{wxIPV4address::Hostname}\label{wxipv4addresshostname} \func{bool}{Hostname}{\param{const wxString\&}{ hostname}} @@ -29,24 +31,28 @@ or an IP-style address in dot notation (a.b.c.d) \wxheading{Return value} -Returns TRUE on success, FALSE if something goes wrong +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}} @@ -54,30 +60,18 @@ Set the port to that corresponding to the specified {\it service}. \wxheading{Return value} -Returns TRUE on success, FALSE if something goes wrong +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}. \wxheading{Return value} -Returns TRUE on success, FALSE if something goes wrong +Returns true on success, false if something goes wrong (invalid service). -% -% Service -% - -\membersection{wxIPV4address::Service} - \func{unsigned short}{Service}{\void} Returns the current service. @@ -98,7 +92,7 @@ to {\bf INADDR\_ANY}. \wxheading{Return value} -Returns TRUE on success, FALSE if something went wrong. +Returns true on success, false if something went wrong. % % LocalHost @@ -115,5 +109,5 @@ hosts and avoid other small problems. \wxheading{Return value} -Returns TRUE on success, FALSE if something went wrong. +Returns true on success, false if something went wrong.