diff --git a/src/ffi/mod.rs b/src/ffi/mod.rs index a75c2cf7b8a1c74542532e11c553a9f0e7f47b85..c51ec250fe9324518a7d572d23b848a25683c86d 100644 --- a/src/ffi/mod.rs +++ b/src/ffi/mod.rs @@ -3,8 +3,8 @@ use core::{cell::RefCell, convert::TryFrom}; use std::os::raw::c_int; use std::slice::from_raw_parts as slice_from_raw_parts; -#[cfg(all(target_os = "linux", feature = "ffi_pseudo_socket_api"))] -pub mod pseudo_socket_api; +// #[cfg(all(target_os = "linux", feature = "ffi_pseudo_socket_api"))] +// pub mod pseudo_socket_api; // Temporary simplfication: ignore ipv6. To revert, just refactor this structure and its usages #[repr(C)] @@ -85,6 +85,7 @@ pub const BAD_FD: c_int = -5; pub const CONNECT_FAILED: c_int = -6; pub const WOULD_BLOCK: c_int = -7; pub const BAD_SOCKADDR: c_int = -8; +pub const SEND_BEFORE_CONNECT: c_int = -9; ///////////////////// REOWOLF //////////////////////////