debug version
Dependents: HTTPClient_WiFi_HelloWorld_src
Fork of SNICInterface by
Diff: Socket/Socket.h
- Revision:
- 50:cd632a13e4dc
- Parent:
- 41:1c1b5ad4d491
diff -r 3376556ba6ad -r cd632a13e4dc Socket/Socket.h --- a/Socket/Socket.h Tue Mar 31 02:50:55 2015 +0000 +++ b/Socket/Socket.h Tue Mar 31 02:53:44 2015 +0000 @@ -24,6 +24,11 @@ #include "SNIC_Core.h" #include "SNIC_UartMsgUtil.h" +#define htons(x) __REV16(x) +#define ntohs(x) __REV16(x) +#define htonl(x) __REV(x) +#define ntohl(x) __REV(x) + typedef unsigned long socklen_t; /** Socket file descriptor and select wrapper