X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be4bd4636d8e7e06ad5728ff1b398fbd0ab74d93..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/ipaddr.tex diff --git a/docs/latex/wx/ipaddr.tex b/docs/latex/wx/ipaddr.tex index 1e99a048be..856876b427 100644 --- a/docs/latex/wx/ipaddr.tex +++ b/docs/latex/wx/ipaddr.tex @@ -25,7 +25,7 @@ is being developed. % Hostname % -\membersection{wxIPaddress::Hostname} +\membersection{wxIPaddress::Hostname}\label{wxipaddresshostname} \func{virtual bool}{Hostname}{\param{const wxString\&}{ hostname}} @@ -37,12 +37,6 @@ or an IP-style address in a format dependent on implementation. Returns true on success, false if something goes wrong (invalid hostname or invalid IP address). -% -% Hostname -% - -\membersection{wxIPaddress::Hostname} - \func{virtual wxString}{Hostname}{\void} Returns the hostname which matches the IP address. @@ -51,7 +45,7 @@ Returns the hostname which matches the IP address. % IPAddress % -\membersection{wxIPaddress::IPAddress} +\membersection{wxIPaddress::IPAddress}\label{wxipaddressipaddress} \func{virtual wxString}{IPAddress}{\void} @@ -61,7 +55,7 @@ Returns a wxString containing the IP address. % Service % -\membersection{wxIPaddress::Service} +\membersection{wxIPaddress::Service}\label{wxipaddressservice} \func{virtual bool}{Service}{\param{const wxString\&}{ service}} @@ -72,12 +66,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{wxIPaddress::Service} - \func{virtual bool}{Service}{\param{unsigned short}{ service}} Set the port to that corresponding to the specified {\it service}. @@ -87,12 +75,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{wxIPaddress::Service} - \func{virtual unsigned short}{Service}{\void} Returns the current service. @@ -116,11 +98,28 @@ On IPV6 implementations, :: Returns true on success, false if something went wrong. +% +% BroadcastAddress +% + +\membersection{wxIPaddress::BroadcastAddress}\label{wxipaddressbroadcastaddress} + +\func{virtual bool}{BroadcastAddress}{\void} + +Internally, this is the same as setting the IP address +to {\bf INADDR\_BROADCAST}. + +On IPV4 implementations, 255.255.255.255 + +\wxheading{Return value} + +Returns true on success, false if something went wrong. + % % LocalHost % -\membersection{wxIPaddress::LocalHost}\label{wxIPaddresslocalhost} +\membersection{wxIPaddress::LocalHost}\label{wxipaddresslocalhost} \func{virtual bool}{LocalHost}{\void} @@ -134,7 +133,7 @@ On IPV6 implementations, ::1 Returns true on success, false if something went wrong. -\membersection{wxIPaddress::LocalHost}\label{wxIPaddresslocalhost} +\membersection{wxIPaddress::IsLocalHost}\label{wxipaddressislocalhost} \func{virtual bool}{IsLocalHost}{\void}