We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78ae84 commit 57316abCopy full SHA for 57316ab
src/sys/windows.rs
@@ -43,7 +43,9 @@ const WSA_FLAG_OVERLAPPED: DWORD = 0x01;
43
pub use winapi::ctypes::c_int;
44
45
/// Fake MSG_TRUNC flag for the [`RecvFlags`] struct.
46
-pub(crate) const MSG_TRUNC: c_int = sock::WSAEMSGSIZE;
+///
47
+/// Value copied from Linux.
48
+pub(crate) const MSG_TRUNC: c_int = 0x20;
49
50
// Used in `Domain`.
51
pub(crate) use winapi::shared::ws2def::{AF_INET, AF_INET6};
0 commit comments