back to io 

wxIPaddress

generated from ../src/mod_io/ipaddr.cpp

wxIPaddress is an prototype class for all internet protocol address objects. Currently, only wxIPV4address is implemented.

Constants

Properties

Name Type Description
IPAddress read only String Returns a string containing the IP address.
hostname String Get/Set the hostname.
localhost read only Boolean Returns true when the hostname is localhost.
service Integer Get/Set the current service.

Methods

anyAddress

anyAddress() : Boolean
 

Internally, this is the same as setting the IP address to INADDR_ANY. Returns true on success, false if something went wrong.

localhost

localhost() : Boolean
 

Set the address to localhost. Returns true on success, false if something went wrong.



SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxSockAddress

Properties

IPAddress
hostname
localhost
service

Methods

anyAddress
localhost


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.