mirror of
https://github.com/zaphar/icmp-socket.git
synced 2025-07-22 19:30:05 -04:00
Minor Readme fixes
This commit is contained in:
parent
d5672b00c6
commit
07c88084d8
@ -14,9 +14,8 @@ It can construct and parse the common ICMP packets for both ICMP4 and ICMP6.
|
|||||||
```rust
|
```rust
|
||||||
let packet4 = Icmpv4Packet::with_echo_request(42, 1, "payload".to_bytes());
|
let packet4 = Icmpv4Packet::with_echo_request(42, 1, "payload".to_bytes());
|
||||||
let packet6 = Icmpv6Packet::with_echo_request(42, 1, "payload".to_bytes());
|
let packet6 = Icmpv6Packet::with_echo_request(42, 1, "payload".to_bytes());
|
||||||
)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# API Documentation
|
# API Documentation
|
||||||
|
|
||||||
https://docs.rs/icmp-socket/0.1.1
|
https://docs.rs/icmp-socket/0.1.2
|
Loading…
x
Reference in New Issue
Block a user