for EthernetInterface library compatibility.\\ ** Unoffical fix. may be a problem. **

Dependents:   SNIC-httpclient-example SNIC-ntpclient-example

Fork of SNICInterface by muRata

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