//! Network-related functions and types

#[cfg(any(feature = "alloc", rust_analyzer))]
pub mod dns;

pub mod socket;

pub use abi::net::{options, MacAddress, SocketInterfaceQuery, SocketShutdown, SocketType};

pub use socket::{
    bind_raw, bind_tcp, bind_udp, connect_tcp, connect_udp, get_socket_option, local_address,
    peer_address, set_socket_option, set_socket_option_with,
};
