1 unstable release
0.1.0 | Mar 11, 2023 |
---|
#12 in #mem
1,288 downloads per month
Used in 5 crates
(2 directly)
105KB
1K
SLoC
core-net
This is a rip of core::net from the Rust language, with stability features removed so you can use the unstable features on the stable compiler.
It was ripped frop this commit 38b96553112dce3de630890701f17d86e265f6ba and may not be up to date.
In order to use these features, you probably will have to std::mem::transmute
the types from the actual core library into these types and back. Have fun.
lib.rs
:
Networking primitives for IP communication.
This module provides types for IP and socket addresses.
Organization
IpAddr
represents IP addresses of either IPv4 or IPv6;Ipv4Addr
andIpv6Addr
are respectively IPv4 and IPv6 addressesSocketAddr
represents socket addresses of either IPv4 or IPv6;SocketAddrV4
andSocketAddrV6
are respectively IPv4 and IPv6 socket addresses