librqbit-dualstack-sockets 0.1.1

utilities for creating dual-stack TCP and UDP tokio sockets
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(test)]
mod tests;

use crate::socket::MaybeDualstackSocket;

pub mod addr;
pub mod socket;

pub type TcpListener = MaybeDualstackSocket<tokio::net::TcpListener>;
pub type UdpSocket = MaybeDualstackSocket<tokio::net::UdpSocket>;