ca5c8b2df6
names have changed a bit). Split ipvaddr.tex from sckaddr.tex. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
96 lines
1.8 KiB
TeX
96 lines
1.8 KiB
TeX
% ----------------------------------------------------------------------------
|
|
% CLASS: wxIPV4address
|
|
% ----------------------------------------------------------------------------
|
|
\section{\class{wxIPV4address}}\label{wxipv4address}
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxSockAddress}{wxsockaddress}
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/socket.h>
|
|
|
|
% ----------------------------------------------------------------------------
|
|
% MEMBERS
|
|
% ----------------------------------------------------------------------------
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
%
|
|
% Hostname
|
|
%
|
|
|
|
\membersection{wxIPV4address::Hostname}
|
|
|
|
\func{bool}{Hostname}{\param{const wxString\&}{ hostname}}
|
|
|
|
Use the specified {\it hostname} for the address.
|
|
|
|
\wxheading{Return value}
|
|
|
|
Returns FALSE if something bad happens (invalid hostname, invalid IP address).
|
|
|
|
%
|
|
% Hostname
|
|
%
|
|
|
|
\membersection{wxIPV4address::Hostname}
|
|
|
|
\func{wxString}{Hostname}{\void}
|
|
|
|
Returns the hostname which matches the IP address.
|
|
|
|
%
|
|
% Service
|
|
%
|
|
|
|
\membersection{wxIPV4address::Service}
|
|
|
|
\func{bool}{Service}{\param{const wxString\&}{ service}}
|
|
|
|
Use the specified {\it service} string for the address.
|
|
|
|
\wxheading{Return value}
|
|
|
|
Returns FALSE if something bad happens (invalid service).
|
|
|
|
%
|
|
% Service
|
|
%
|
|
|
|
\membersection{wxIPV4address::Service}
|
|
|
|
\func{bool}{Service}{\param{unsigned short}{ service}}
|
|
|
|
Use the specified {\it service} for the address.
|
|
|
|
\wxheading{Return value}
|
|
|
|
Returns FALSE if something bad happens (invalid service).
|
|
|
|
%
|
|
% Service
|
|
%
|
|
|
|
\membersection{wxIPV4address::Service}
|
|
|
|
\func{unsigned short}{Service}{\void}
|
|
|
|
Returns the current service.
|
|
|
|
%
|
|
% LocalHost
|
|
%
|
|
|
|
\membersection{wxIPV4address::LocalHost}
|
|
|
|
\func{bool}{LocalHost}{\void}
|
|
|
|
Initialize peer host to local host.
|
|
|
|
\wxheading{Return value}
|
|
|
|
Returns FALSE if something bad happens.
|
|
|