Crates.io | tcp_ip |
lib.rs | tcp_ip |
version | 0.1.10 |
created_at | 2024-12-21 09:57:08.59321+00 |
updated_at | 2025-06-10 07:49:45.140183+00 |
description | User-space TCP/IP stack |
homepage | |
repository | https://github.com/rustp2p/tcp_ip |
max_upload_size | |
id | 1490884 |
size | 232,536 |
User-space TCP/IP stack
Use UdpSocket. Supported over IPv4 and IPv6.
Use IcmpSocket or IcmpV6Socket. The user needs to handle the ICMP header themselves and calculate the checksum.
Use TcpListener and TcpStream. Supported over IPv4 and IPv6.
Using IpSocket to send and receive packets of other protocols.(Handles all IP upper-layer protocols without requiring the user to consider IP fragmentation.)