#import <IPAddress.h>
Inherits IPAddress.
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. | |
| - (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.
1.5.4