subject

Write a small Ping CLI application for MacOS or Linux. The CLI app should accept a hostname or an IP address as its argument, then send ICMP "echo requests" in a loop to the target while receiving "echo-reply" messages. It should report loss and RTT times for each sent message. Please write it in C++.Also, how would you add support for both IPv4 and IPv6. Allow to set TTL as an argument and report the corresponding "time exceeded" ICMP messages.1. Build a tool with a CLI interface - The tool should accept as a positional terminal argument a hostname or IP address.2. Send ICMP "echo requests" in an infinite loop - As long as the program is running it should continue to emit requests with a periodic delay.3. Report loss and RTT times for each message - Packet loss and latency should be reported as each message received.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Digital information is stored using a series of ones and zeros. computers are digital machines because they can only read information as on or off โ€“1 or 0. this method of computation is known as the system
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Communication is the exchange of information. true false
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
The output voltage of a power supply is assumed to be normally distributed. sixteen observations are taken at random on voltage are as follows: 10.35, 9.30, 10.00, 9.96, 11.65, 12.00, 11.25, 9.58, 11.54, 9.95, 10.28, 8.37, 10.44, 9.25, 9.38, and 10.85
Answers: 1
You know the right answer?
Write a small Ping CLI application for MacOS or Linux. The CLI app should accept a hostname or an IP...
Questions
question
Spanish, 17.10.2020 20:01
question
Mathematics, 17.10.2020 20:01
question
Mathematics, 17.10.2020 20:01
question
History, 17.10.2020 20:01
Questions on the website: 13722363