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, 21.06.2019 22:10
Is the following an example of social media viral marketing? indicate your response by selecting yes or no. when you sign onto your favorite social networking website, you get messages from friends who have seen a television show they thought was a "must see! "
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
question
Computers and Technology, 24.06.2019 08:30
Formatting rows and columns is similar to cell formatting. in an openoffice calc spreadsheet, you can format data entered into rows and columns with the of the rows and columns options. you can insert rows and columns into, or delete rows and columns from, a spreadsheet. use the insert or delete rows and columns option on the insert tab. alternatively, select the row or column where you want new rows or columns to appear, right-click, and select insert only row or only column options. you can hide or show rows and columns in a spreadsheet. use the hide or show option on the format tab. for example, to hide a row, first select the row, then choose the insert tab, then select the row option, and then select hide. alternatively, you can select the row or columns, right-click, and select the hide or show option. you can adjust the height of rows and width of columns. select row and then select the height option on the format tab. similarly, select column, then select the width option on the format tab. alternatively, you can hold the mouse on the row and column divider, and drag the double arrow to the position. you can also use the autofit option on the table tab to resize rows and columns.
Answers: 1
question
Computers and Technology, 25.06.2019 11:00
When you are looking for information on wikipedia
Answers: 2
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
Questions on the website: 13722363