MCPcopy Index your code
hub / github.com/deprecrated/net2-rs

github.com/deprecrated/net2-rs @0.2.39

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.39 ↗ · + Follow
183 symbols 396 edges 14 files 20 documented · 11% updated 2y ago★ 10813 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

net2

Extensions to the standard library's networking types, proposed in RFC 1158.

Build Status Documentation

net2 is Deprecated

Prospective and existing consumers are encouraged to consider socket2 instead.

License

This project is licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Extension points exported contracts — how you extend this code

FromInner (Interface)
(no doc) [6 implementers]
src/lib.rs
TcpStreamExt (Interface)
Extension methods for the standard [`TcpStream` type][link] in `std::net`. [link]: https://doc.rust-lang.org/std/net/st [1 …
src/ext.rs
UnixTcpBuilderExt (Interface)
Unix-specific extensions for the `TcpBuilder` type in this library. [1 implementers]
src/unix.rs
NetInt (Interface)
(no doc)
src/utils.rs
AsInner (Interface)
(no doc) [3 implementers]
src/lib.rs
TcpListenerExt (Interface)
Extension methods for the standard [`TcpListener` type][link] in `std::net`. [link]: https://doc.rust-lang.org/std/net/ [1 …
src/ext.rs
UnixUdpBuilderExt (Interface)
Unix-specific extensions for the `UdpBuilder` type in this library. [1 implementers]
src/unix.rs
One (Interface)
(no doc)
src/utils.rs

Core symbols most depended-on inside this repo

as_sock
called by 90
src/ext.rs
set_opt
called by 40
src/ext.rs
get_opt
called by 28
src/ext.rs
v
called by 21
src/ext.rs
cvt
called by 15
src/lib.rs
as_inner
called by 12
src/udp.rs
ntoh
called by 8
src/lib.rs
raw
called by 7
src/sys/unix/mod.rs

Shape

Method 114
Function 40
Class 17
Interface 12

Languages

Rust100%

Modules by API surface

src/ext.rs75 symbols
src/sys/wasi/mod.rs24 symbols
src/socket.rs16 symbols
src/tcp.rs13 symbols
src/sys/windows/mod.rs13 symbols
src/sys/unix/mod.rs11 symbols
src/udp.rs8 symbols
src/lib.rs8 symbols
src/unix.rs4 symbols
src/utils.rs3 symbols
tests/all.rs2 symbols
src/sys/windows/impls.rs2 symbols

For agents

$ claude mcp add net2-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact