HostAddress Class Reference

#import <IPAddress.h>

Inherits IPAddress.

List of all members.


Detailed Description

A subclass of IPAddress that remembers the DNS hostname instead of a raw address.

An instance of HostAddress looks up its ipv4 address on the fly by calling gethostbyname.

Public Member Functions

(id) - initWithHostname:port:
 Initializes an IPAddress from a host name (which may be a DNS name or dotted-quad numeric form) and port number.


Member Function Documentation

- (id) initWithHostname: (NSString*)  hostname
port: (UInt16)  port 

Initializes an IPAddress from a host name (which may be a DNS name or dotted-quad numeric form) and port number.

If the hostname is not in dotted-quad form, an instance of the subclass HostAddress will be returned instead.

Reimplemented from IPAddress.


The documentation for this class was generated from the following files:
Generated on Tue May 27 22:56:33 2008 for MYNetwork:MooseyardNetworking by  doxygen 1.5.4