socket9 0.1.0-alpha.1

Extended untilities for the networking/unix sockets and raw network sockets
Documentation

#[cfg(any(
    target_os = "android",
    target_os = "linux"
))]
pub mod tcp_thin_linear_timeouts;
#[cfg(any(
    target_os = "android",
    target_os = "linux"
))]
pub use tcp_thin_linear_timeouts::IpProtoTcpThinLinearTimeouts;


#[cfg(any(
    target_os = "android",
    target_os = "linux"
))]
pub mod tcp_not_send_lowat;
#[cfg(any(
    target_os = "android",
    target_os = "linux"
))]
pub use tcp_not_send_lowat::IpProtoNotsentLowat;

/*-
 * socket9 - A RAW networking sockets manipulation and configration basing on 
 * strong types.
 * 
 * Copyright (C) 2021 Aleksandr Morozov, Lucia Hoffmann
 * Copyright (C) 2025 Aleksandr Morozov
 * 
 * The syslog-rs crate can be redistributed and/or modified
 * under the terms of either of the following licenses:
 *
 *   1. EUROPEAN UNION PUBLIC LICENCE v. 1.2 EUPL © the European Union 2007, 2016 OR
 *
 *   2. the Mozilla Public License Version 2.0 (the “MPL”) OR
 *                     
 *   3. The MIT License (MIT)
 */

pub mod tcp_keep_alive_idle;
pub use tcp_keep_alive_idle::{IpProtoKeepIdleAliveR, IpProtoKeepIdleAliveW};


#[cfg(any(
    target_os = "ios",
    target_os = "android",
    target_os = "dragonfly",
    target_os = "freebsd",
    target_os = "linux",
    target_os = "macos",
    target_os = "netbsd",
    target_os = "tvos",
    target_os = "windows",
))]
pub mod tcp_keep_intvl;

#[cfg(any(
    target_os = "ios",
    target_os = "android",
    target_os = "dragonfly",
    target_os = "freebsd",
    target_os = "linux",
    target_os = "macos",
    target_os = "netbsd",
    target_os = "tvos",
    target_os = "windows",
))]
pub use tcp_keep_intvl::IpProtoKeepIntvl;


#[cfg(any(
    target_os = "ios",
    target_os = "android",
    target_os = "dragonfly",
    target_os = "freebsd",
    target_os = "linux",
    target_os = "macos",
    target_os = "netbsd",
    target_os = "tvos",
    target_os = "windows",
))]
pub mod tcp_keep_cnt;

#[cfg(any(
    target_os = "ios",
    target_os = "android",
    target_os = "dragonfly",
    target_os = "freebsd",
    target_os = "linux",
    target_os = "macos",
    target_os = "netbsd",
    target_os = "tvos",
    target_os = "windows",
))]
pub use tcp_keep_cnt::IpProtoKeepCnt;


pub mod tcp_nodelay;
pub use tcp_nodelay::IpProtoNodelay;