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
Diff: net.cpp
- Revision:
- 52:fbc5a46b5e16
- Parent:
- 50:492f2d2954e4
- Child:
- 57:e0fb648acf48
diff -r 007bd938f2c3 -r fbc5a46b5e16 net.cpp --- a/net.cpp Fri Nov 03 18:14:06 2017 +0000 +++ b/net.cpp Wed Nov 08 20:46:36 2017 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "phy.h" #include "net.h" -#include "tcp.h" +#include "tcb.h" #include "dhcp.h" #include "ar4.h" #include "ar6.h" @@ -96,7 +96,7 @@ NetName4 = name4; NetName6 = name6; PhyInit(); - TcpInit(); + TcbInit(); Ar4Init(); Ar6Init(); Nr4Init(); @@ -107,11 +107,12 @@ int NetMain() { PhyMain(); + TcbMain(); Ar4Main(); Ar6Main(); Nr4Main(); Nr6Main(); - DhcpMain(); + DhcpMain(); DnsMain(); NdpMain(); return 0;