//! Cross-platform socket inspection for TCP and UDP.
//!
//! `netsock` provides iterators and collection APIs for enumerating sockets on
//! Linux, macOS, Windows, and FreeBSD.
/// Collects sockets that match the requested address families and protocols.
pub use get_sockets;
/// Returns an iterator over sockets that match the requested filters.
pub use iter_sockets;
/// Returns sockets without process ownership data.
///
/// This API is intended for environments where process association is not
/// available or too expensive.
pub use iter_sockets_without_processes;
/// Returns sockets using a caller-provided process cache.
pub use iter_sockets_with_cache;
/// Snapshot of process-to-socket inode mappings on Linux.
pub use ProcessCache;