1.1 --- a/IPAddress.h Sat May 24 17:25:06 2008 -0700
1.2 +++ b/IPAddress.h Sun Apr 26 18:12:44 2009 -0700
1.3 @@ -35,6 +35,10 @@
1.4 /** Initializes an IPAddress from a BSD struct sockaddr. */
1.5 - (id) initWithSockAddr: (const struct sockaddr*)sockaddr;
1.6
1.7 +/** Returns the IP address of this host (plus the specified port number).
1.8 + If multiple network interfaces are active, the main one's address is returned. */
1.9 ++ (IPAddress*) localAddressWithPort: (UInt16)port;
1.10 +
1.11 /** Returns the IP address of this host (with a port number of zero).
1.12 If multiple network interfaces are active, the main one's address is returned. */
1.13 + (IPAddress*) localAddress;