From 2f271268af4596b328960dd966b3ffb5076a5363 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Mon, 1 Aug 2022 10:09:15 -0600 Subject: [PATCH] Add MSG_DONTWAIT --- src/header/sys_socket/constants.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/header/sys_socket/constants.rs b/src/header/sys_socket/constants.rs index f9e7b9ab..610bf2d5 100644 --- a/src/header/sys_socket/constants.rs +++ b/src/header/sys_socket/constants.rs @@ -46,6 +46,7 @@ pub const MSG_EOR: c_int = 128; pub const MSG_OOB: c_int = 1; pub const MSG_PEEK: c_int = 2; pub const MSG_TRUNC: c_int = 32; +pub const MSG_DONTWAIT: c_int = 64; pub const MSG_WAITALL: c_int = 256; pub const AF_INET: c_int = 2; -- GitLab