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 |
#431 in Network programming
492,677 downloads per month
Used in 388 crates
(26 directly)
170KB
3K
SLoC
no-std-net
Rust's std::net except without the std.
lib.rs:
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.
Organization
IpAddrrepresents IP addresses of either IPv4 or IPv6;Ipv4AddrandIpv6Addrare respectively IPv4 and IPv6 addressesTcpListenerandTcpStreamprovide functionality for communication over TCPUdpSocketprovides functionality for communication over UDPSocketAddrrepresents socket addresses of either IPv4 or IPv6;SocketAddrV4andSocketAddrV6are respectively IPv4 and IPv6 socket addressesToSocketAddrsis a trait that used for generic address resolution when interacting with networking objects likeTcpListener,TcpStreamorUdpSocket- Other types are return or parameter types for various methods in this module
Dependencies
~170KB