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:
36:900e24b27bfb
Parent:
29:39277bf2003d
Child:
37:793b39683406
diff -r 93c39d260a83 -r 900e24b27bfb udp/dhcp.cpp
--- a/udp/dhcp.cpp	Fri Sep 22 13:55:56 2017 +0000
+++ b/udp/dhcp.cpp	Mon Sep 25 07:09:32 2017 +0000
@@ -226,7 +226,7 @@
     uint8_t  htype   = pHeader->htype;
     uint8_t  hlen    = pHeader->hlen;
     
-    uint32_t xid     = pHeader->xid;    //Randomly chosed transaction id used to associate messages to responses
+    uint32_t xid     = pHeader->xid;    //Randomly chosen transaction id used to associate messages to responses
     
     uint16_t secs    = NetToHost16(pHeader->secs);
     uint16_t flags   = NetToHost16(pHeader->flags);