Skip to content
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
capsule/examples/ping4d/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Ping4 daemon example

Ping is a utility used to test the reachability of a host. Ping4 daemon example is a small application that answers the ping requests.

Running the application

The example is located in the examples/ping4d sub-directory. To run the application,

/examples/ping4d$ cargo run -- -f ping4d.toml

Explanation

Ping operates by sending an ICMP echo request packet to the target host and waiting for an ICMP echo reply. The pipeline uses the replace combinator to create a new reply packet for each received request packet. The request packet is immutable.