Custom and bugfix
Dependents: HTTPClient_HelloWorld_WIZ820io NTPClient_HelloWorld_WIZ820io TinyHTTPServer_WIZ820io
Fork of WIZ820ioInterface by
Diff: Socket/Socket.h
- Revision:
- 7:c0cd6680bcb7
- Parent:
- 5:fb15c35d1e28
--- a/Socket/Socket.h Sun Dec 01 18:40:14 2013 +0000 +++ b/Socket/Socket.h Sun Feb 02 14:20:31 2014 +0000 @@ -20,6 +20,11 @@ #include "WIZ820io.h" +#define htons(x) __REV16(x) +#define ntohs(x) __REV16(x) +#define htonl(x) __REV(x) +#define ntohl(x) __REV(x) + /** Socket file descriptor and select wrapper */ class Socket {