socket2 breaking changes
socket2 0.6.0 (July 5, 2025) is its newest release with breaking changes, 21 of them. The first: Renamed Socket.freebind. Every breaking API change we have recorded in socket2 on crates.io: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.6.5, released July 13, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
socket2 0.6.0 breaking changes
- Renamed
Socket.freebind
Rename calls to freebind_v4. The old name no longer exists. github.com - Renamed
Socket.freebind_ipv6
Rename calls to freebind_v6. The old name no longer exists. github.com - Renamed
Socket.keepalive_interval
Rename calls to the tcp_-prefixed names. The old names no longer exist. github.com - Renamed
Socket.keepalive_retries
Rename calls to the tcp_-prefixed names. The old names no longer exist. github.com - Renamed
Socket.keepalive_time
Rename calls to the tcp_-prefixed names. The old names no longer exist. github.com - Renamed
Socket.nodelay
Rename calls to the tcp_-prefixed names. The old names no longer exist. github.com - Renamed
Socket.original_dst
Rename calls to original_dst_v4. The old name no longer exists. github.com - Renamed
Socket.original_dst_ipv6
Rename calls to original_dst_v6. The old name no longer exists. github.com - Renamed
Socket.set_nodelay
Rename calls to the tcp_-prefixed names. The old names no longer exist. github.com - Renamed
Socket.tcp_cork
Rename calls to the new names. The old names no longer exist. github.com - Renamed
Socket.tcp_mss
Rename calls to the new names. The old names no longer exist. github.com - Renamed
Socket.tcp_quickack
Rename calls to the new names. The old names no longer exist. github.com - Renamed
Socket.tcp_set_cork
Rename calls to the new names. The old names no longer exist. github.com - Renamed
Socket.tcp_set_mss
Rename calls to the new names. The old names no longer exist. github.com - Renamed
Socket.tcp_set_quickack
Rename calls to the new names. The old names no longer exist. github.com - Renamed
Socket.thin_linear_timeouts
Rename calls to the tcp_-prefixed name. The old name no longer exists. github.com - Signature changed
Socket.attach_filter
Socket::attach_filter takes SockFilter, a wrapper around libc::sock_filter, instead of the libc type. github.com - Signature changed
socket2::SockAddr::as_ptr
SockAddr::as_ptr now uses SockAddrStorage instead of sockaddr_storage. crates.io - Signature changed
socket2::SockAddr::as_storage
SockAddr::as_storage now returns SockAddrStorage instead of sockaddr_storage. crates.io - Signature changed
socket2::SockAddr::new
SockAddr::new now accepts and returns SockAddrStorage instead of sockaddr_storage. crates.io - Signature changed
socket2::SockAddr::try_init
SockAddr::try_init now accepts and returns SockAddrStorage instead of sockaddr_storage. crates.io
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.