1.1 --- a/IPAddress.h Fri May 23 17:37:36 2008 -0700
1.2 +++ b/IPAddress.h Sun Jul 13 10:42:50 2008 -0700
1.3 @@ -9,7 +9,7 @@
1.4 #import <Foundation/Foundation.h>
1.5
1.6
1.7 -/** Represents an Internet Protocol address and port number (similar to a sockaddr_in.)
1.8 +/** Represents an Internet Protocol address and port number (similar to a sockaddr_in).
1.9 IPAddress itself only remembers the raw 32-bit IPv4 address; the subclass HostAddress
1.10 also remembers the DNS host-name. */
1.11 @interface IPAddress : NSObject <NSCoding, NSCopying>
1.12 @@ -35,7 +35,7 @@
1.13 /** Initializes an IPAddress from a BSD struct sockaddr. */
1.14 - (id) initWithSockAddr: (const struct sockaddr*)sockaddr;
1.15
1.16 -/** Returns the IP address of this host (with a socket number of zero.)
1.17 +/** Returns the IP address of this host (with a port number of zero).
1.18 If multiple network interfaces are active, the main one's address is returned. */
1.19 + (IPAddress*) localAddress;
1.20