sandbox / NetworkSocketAPI

Dependencies:   DnsQuery

Fork of NetworkSocketAPI by Christopher Haster

Files at this revision

API Documentation at this revision

Comitter:
Kevin Bracey
Date:
Thu Apr 07 12:57:33 2016 +0100
Parent:
17:2fc20f6d377e
Commit message:
Make lengths bigger to accommodate IPv6 and IEEE 802.15.4

Changed in this revision

SocketAddress.h Show annotated file Show diff for this revision Revisions of this file
--- a/SocketAddress.h	Thu Apr 07 12:55:59 2016 +0100
+++ b/SocketAddress.h	Thu Apr 07 12:57:33 2016 +0100
@@ -21,11 +21,11 @@
 
 /** Maximum size of IP address
 */
-#define NSAPI_IP_SIZE 16
+#define NSAPI_IP_SIZE 40
 
 /** Maximum size of MAC address
 */
-#define NSAPI_MAC_SIZE 18
+#define NSAPI_MAC_SIZE 24
 
 // Predeclared classes
 class NetworkInterface;