Customized
Dependents: MurataTypeYD_RPC_Sample
Fork of SNICInterface_mod by
Diff: Socket/Socket.h
- Revision:
- 46:e1cb45f7a27f
- Parent:
- 41:1c1b5ad4d491
--- a/Socket/Socket.h Sat Nov 22 11:01:16 2014 +0000 +++ b/Socket/Socket.h Sat Nov 22 15:32:42 2014 +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