{"id":21382292,"url":"https://github.com/zaphar/icmp-socket","last_synced_at":"2025-07-13T13:31:30.042Z","repository":{"id":44551914,"uuid":"330232524","full_name":"zaphar/icmp-socket","owner":"zaphar","description":"Rust ICMP sockets","archived":false,"fork":false,"pushed_at":"2022-11-23T23:07:35.000Z","size":59,"stargazers_count":15,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-08T18:38:51.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaphar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-16T18:45:49.000Z","updated_at":"2024-05-06T05:50:39.000Z","dependencies_parsed_at":"2023-01-22T01:45:55.119Z","dependency_job_id":null,"html_url":"https://github.com/zaphar/icmp-socket","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Ficmp-socket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Ficmp-socket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Ficmp-socket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Ficmp-socket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaphar","download_url":"https://codeload.github.com/zaphar/icmp-socket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225885473,"owners_count":17539641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T10:58:30.621Z","updated_at":"2024-11-22T10:58:31.235Z","avatar_url":"https://github.com/zaphar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ICMP Sockets for both IPv4 and IPv6\n\nAn implementation of ICMP Sockets for both IPv4 and IPv6.\n\nSockets can be created from IP addresses. IPv4 addresses will construct ICMP4 sockets. IPv6 will construct ICMP6 sockets.\n\n```rust\nlet parsed_addr = \"127.0.0.1\".parse::\u003cIpv4Addr\u003e().unwrap();\nlet socket = IcmpSocket4::try_from(parsed_addr).unwrap();\n```\n\nIt can construct and parse the common ICMP packets for both ICMP4 and ICMP6.\n\n```rust\nlet packet4 = Icmpv4Packet::with_echo_request(42, 1, \"payload\".to_bytes());\nlet packet6 = Icmpv6Packet::with_echo_request(42, 1, \"payload\".to_bytes());\n```\n\n# API Documentation\n\nhttps://docs.rs/icmp-socket/0.2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaphar%2Ficmp-socket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaphar%2Ficmp-socket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaphar%2Ficmp-socket/lists"}