Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface 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

Murata TypeYD