* include/cygwin/socket.h (MSG_BCAST): Define.
(MSG_MCAST): Define.
This commit is contained in:
		| @@ -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> | 2012-08-01  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* fhandler.h (fhandler_socket::recv_internal): Add bool parameter. | 	* fhandler.h (fhandler_socket::recv_internal): Add bool parameter. | ||||||
|   | |||||||
| @@ -205,6 +205,9 @@ struct OLD_msghdr | |||||||
| #define MSG_NOSIGNAL    0x20            /* Don't raise SIGPIPE */ | #define MSG_NOSIGNAL    0x20            /* Don't raise SIGPIPE */ | ||||||
| #define MSG_TRUNC       0x0100          /* Normal data truncated */ | #define MSG_TRUNC       0x0100          /* Normal data truncated */ | ||||||
| #define MSG_CTRUNC      0x0200          /* Control 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 */ | /* Setsockoptions(2) level. Thanks to BSD these must match IPPROTO_xxx */ | ||||||
| #define SOL_IP		0 | #define SOL_IP		0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user