librqbit-dualstack-sockets

Crates.iolibrqbit-dualstack-sockets
lib.rslibrqbit-dualstack-sockets
version0.6.11
created_at2025-06-10 18:47:11.339158+00
updated_at2025-08-02 10:16:03.94569+00
descriptionutilities for creating dual-stack TCP and UDP tokio sockets
homepage
repositoryhttps://github.com/ikatson/librqbit-dualstack-sockets
max_upload_size
id1707575
size78,172
Igor Katson (ikatson)

documentation

https://docs.rs/librqbit-dualstack-sockets

README

librqbit-dualstack-sockets

A library that provides dual-stack tokio sockets for use in rqbit torrent client.

It converts between SocketAddr addresses so that your app sees IPv4 (not IPv4-mapped IPv6) addresses.

If you listen on IPv6::UNSPECIFIED, it will enter dualstack mode (if requested) and listen on both IPv4 and IPv6. However all addresses will be converted to their canonical form.

Commit count: 42

cargo fmt