* include/cygwin/socket.h (MSG_BCAST): Define.

(MSG_MCAST): Define.
This commit is contained in:
Corinna Vinschen 2012-08-01 18:56:45 +00:00
parent 8c582a2053
commit 458e15e7d7
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-08-01 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/socket.h (MSG_BCAST): Define.
(MSG_MCAST): Define.
2012-08-01 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (fhandler_socket::recv_internal): Add bool parameter.

View File

@ -205,6 +205,9 @@ struct OLD_msghdr
#define MSG_NOSIGNAL 0x20 /* Don't raise SIGPIPE */
#define MSG_TRUNC 0x0100 /* Normal data truncated */
#define MSG_CTRUNC 0x0200 /* Control data truncated */
/* Windows-specific flag values returned by recvmsg. */
#define MSG_BCAST 0x0400 /* Broadcast datagram */
#define MSG_MCAST 0x0800 /* Multicast datagram */
/* Setsockoptions(2) level. Thanks to BSD these must match IPPROTO_xxx */
#define SOL_IP 0