#85 Added support for IPv6

This commit is contained in:
Pierre-Olivier Latour
2014-10-14 00:45:08 -07:00
parent 4449e42601
commit 75d018a375
7 changed files with 224 additions and 174 deletions
+7 -2
View File
@@ -48,6 +48,11 @@
*/
@property(nonatomic, readonly) GCDWebServer* server;
/**
* Returns true if the connection is using IPv6.
*/
@property(nonatomic, readonly, getter=isUsingIPv6) BOOL usingIPv6;
/**
* Returns the address of the local peer (i.e. server) of the connection
* as a raw "struct sockaddr".
@@ -56,7 +61,7 @@
/**
* Returns the address of the local peer (i.e. server) of the connection
* as a dotted string.
* as a string.
*/
@property(nonatomic, readonly) NSString* localAddressString;
@@ -68,7 +73,7 @@
/**
* Returns the address of the remote peer (i.e. client) of the connection
* as a dotted string.
* as a string.
*/
@property(nonatomic, readonly) NSString* remoteAddressString;