9 releases (5 breaking)
|0.6.0||Nov 7, 2021|
|0.5.0||Dec 3, 2020|
|0.4.0||Jul 13, 2020|
|0.3.0||Feb 29, 2020|
|0.1.0||Mar 22, 2018|
#509 in Network programming
95,536 downloads per month
Used in 190 crates (25 directly)
Rust's std::net except without the std.
Networking primitives for TCP/UDP communication.
This module provides networking functionality for the Transmission Control and User Datagram Protocols, as well as types for IP and socket addresses. It has been ported from std::net to remove the dependency on std.
This crate is a WIP, issues, feedback and PRs are welcome as long as they follow the theme of "std::net" clone.
IpAddr] represents IP addresses of either IPv4 or IPv6; [
Ipv4Addr] and [
Ipv6Addr] are respectively IPv4 and IPv6 addresses
TcpListener] and [
TcpStream] provide functionality for communication over TCP
UdpSocket] provides functionality for communication over UDP
SocketAddr] represents socket addresses of either IPv4 or IPv6; [
SocketAddrV4] and [
SocketAddrV6] are respectively IPv4 and IPv6 socket addresses
ToSocketAddrs] is a trait that used for generic address resolution when interacting with networking objects like [
TcpStream] or [
- Other types are return or parameter types for various methods in this module