Explorar o código

Add MSG_DONTWAIT

Jeremy Soller %!s(int64=2) %!d(string=hai) anos
pai
achega
2f271268af
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/header/sys_socket/constants.rs

+ 1 - 0
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;