diff -r a9dd5ac5ff11 -r 20cccc7c26ee IPAddress.m --- a/IPAddress.m Mon May 04 23:21:26 2009 -0700 +++ b/IPAddress.m Sun May 24 15:03:39 2009 -0700 @@ -56,6 +56,11 @@ return self; } ++ (IPAddress*) addressWithHostname: (NSString*)hostname port: (UInt16)port +{ + return [[[self alloc] initWithHostname: hostname port: port] autorelease]; +} + - (id) initWithIPv4: (UInt32)ipv4 port: (UInt16)port {