changeset 55 | f240f9023393 |
parent 35 | a9dd5ac5ff11 |
child 59 | 46c7844cb592 |
1.1 --- a/IPAddress.m Mon May 04 23:21:26 2009 -0700 1.2 +++ b/IPAddress.m Thu Jul 02 17:51:35 2009 -0700 1.3 @@ -56,6 +56,11 @@ 1.4 return self; 1.5 } 1.6 1.7 ++ (IPAddress*) addressWithHostname: (NSString*)hostname port: (UInt16)port 1.8 +{ 1.9 + return [[[self alloc] initWithHostname: hostname port: port] autorelease]; 1.10 +} 1.11 + 1.12 1.13 - (id) initWithIPv4: (UInt32)ipv4 port: (UInt16)port 1.14 {