use crate::;
/// Linux connection collection via `/proc/net/{tcp,udp,unix}` plus
/// `/proc/<pid>/fd/` for inode -> PID resolution.
/// macOS-only enrichment helpers (full cmdline, fd usage, parent chain).
/// Collect all current network connections from the running OS.
/// Dispatches to the platform-specific implementation.
///
/// # Errors
///
/// On Linux/macOS: propagates the platform layer's I/O errors (procfs or
/// libproc). On unsupported platforms: returns [`crate::Error::UnsupportedPlatform`].