Ethernet interface for W5500 with bug fixed in socket::close()
Fork of EthernetInterfaceW5500 by
Diff: Socket/Socket.h
- Revision:
- 9:615198a7b82b
- Parent:
- 5:fb15c35d1e28
- Child:
- 10:cadac6bcd169
--- a/Socket/Socket.h Sun Dec 15 12:29:47 2013 +0000 +++ b/Socket/Socket.h Mon Dec 23 13:51:35 2013 +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 {