Install
socket2
Utilities for handling networking sockets with a maximal amount of configuration possible intended.
0.6.5Latest, 13 Jul 2026
423MDownloads, last 90 days
0Advisories on the latest
2Advisories, all versions
MIT OR Apache-2.0Licence
884Stars
5.7/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | socket2 invalidly assumes the memory layout of std::net::SocketAddr CVE-2020-35919 | Fixed in 0.3.16 | 25 Aug 2021 |
| `socket2` invalidly assumes the memory layout of std::net::SocketAddr CVE-2020-35919 | Fixed in 0.3.16 | 6 Nov 2020 |
In the news
- why does connect() return Uncategorized but not WouldBlock error in Rust socket2 crate stackoverflow.com, 31 Aug 2024
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.