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.h
- Revision:
- 59:e0e556c8bd46
- Parent:
- 57:e0fb648acf48
- Child:
- 61:aad055f1b0d1
--- a/net.h Thu Dec 07 20:44:32 2017 +0000 +++ b/net.h Thu Dec 14 20:55:40 2017 +0000 @@ -18,8 +18,8 @@ extern uint16_t NetCheckSum(int count, void* pData); extern uint16_t NetCheckSumTwo(int count1, void* pData1, int count2, void* pData2); -extern int NetInit(char* name4, char* name6); +extern int NetInit(const char* name4, const char* name6); extern int NetMain(); -extern char* NetName4; -extern char* NetName6; +extern const char* NetName4; +extern const char* NetName6;