A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Revision:
11:c051adb70c5a
Parent:
10:f0854784e960
Child:
14:e75a59c1123d
--- a/net.cpp	Sun Apr 16 14:21:55 2017 +0000
+++ b/net.cpp	Tue Apr 18 19:07:05 2017 +0000
@@ -62,7 +62,8 @@
 {
     switch (protocol)
     {
-        case  ICMP: strncpy (text, "ICMP4", size);        break;
+        case  ICMP: strncpy (text, "ICMP",  size);        break;
+        case  IGMP: strncpy (text, "IGMP",  size);        break;
         case ICMP6: strncpy (text, "ICMP6", size);        break;
         case   TCP: strncpy (text, "TCP"  , size);        break;
         case   UDP: strncpy (text, "UDP"  , size);        break;