How to write a program to determine the ping with IP?

Hello! I want to write a program under linux and windows to determine the ping (latency) between the server and the client of a change in the program for DDOS attacks, but can't decide on what to write (and how, too, do not know). Please help.
June 14th 19 at 18:51
1 answer
June 14th 19 at 18:53
William Stevens: TCP/IP in the script to begin to read about the ICMP Protocol. If not mistaken, this book describes how to use ping utility on the basis of the ICMP Protocol.
And to write something on it? - Keeley33 commented on June 14th 19 at 18:56
on paper, the first. Then on the programming language that you know.

And what your program will differ from the commands of ping, fping, hping ? - Reb commented on June 14th 19 at 18:59
need something crossplatforming and fast. Look towards c++.
And what your program will differ from the commands of ping, fping, hping ?

Maybe remake in a Ddos. - Keeley33 commented on June 14th 19 at 19:02
such programs enough. Apparently you want more detail to understand the working principle of all these things. You can write in C, C++, Python. In fact, anything convenient, though on the assembler :) - ara_Spencer18 commented on June 14th 19 at 19:05
, read books, and what writing is not important.
Yet, judging by the question you didn't even know what is ddos, because it can make even the normal ping command, which is built into the system. Learn how the communication protocols. - Jeff28 commented on June 14th 19 at 19:08
man ping. When you read about all the keys, perhaps the desire to write will disappear. If the same type for samobrazovaniya - write in C. it is using libraries, you can manually pack forming. - Esta_Upton commented on June 14th 19 at 19:11
,
to write on With

Why not c++? - Keeley33 commented on June 14th 19 at 19:14
,
Yet, judging by the question you didn't even know what is ddos, because it can make even an ordinary ping

Know what is ddos, but I want to try to bypass the Ddos protection. Just ping ride.
DDoS_video.gif - Keeley33 commented on June 14th 19 at 19:17
,
Instead of beautiful pictures, can your own words to explain what is ddos and how you intend to circumvent the protection? - Jeff28 commented on June 14th 19 at 19:20
,
Instead of beautiful pictures, can your own words to explain what is a ddos attack...

Wouldn't know the picture would never be found.
...how are you going to circumvent the protection?

The experiment will be. The emulation clients to do. - Keeley33 commented on June 14th 19 at 19:23
what the client???
but the question you have not answered, and judging by the "emulation client will do", you don't understand that way of real protection from a DDoS not around in force fundamental limitations - Jeff28 commented on June 14th 19 at 19:26
So I somebody says something smart?? - Keeley33 commented on June 14th 19 at 19:29
You have said clever - you should read about the communication protocols.
You can write in different languages, well, take the same C++ standard for system utilities.

You just want to get the incorrect answer to the question. Sounds like "what can screw a nail."
And it sounds incorrect, because apparently not enough understanding how it works, what you can learn from reading more about how protocols work the same icmp, tcp. - Jeff28 commented on June 14th 19 at 19:32
will. Before you write something, understand the subject area. What programming languages do you know? - ara_Spencer18 commented on June 14th 19 at 19:35
,
What programming languages do you know?

Siski not very much.
Java scribe you complex
Python - like, not poisonous and not very dangerous. Normik!
NodeJs - hmm... kind of thing funny. Will check out! - Keeley33 commented on June 14th 19 at 19:38
well here you have three good candidate C, Java, and Python. NodeJS is not a language :) - ara_Spencer18 commented on June 14th 19 at 19:41
C... why not c++ for example? Java...
Java - scribe you difficult.

And slow it, as it is not compiled to native(machine) code, unlike c++.
Python

Hmm.... Petancic, are you ready?
NodeJS is not a language

I know, but something you can write.
:)

My soul became a little kinder. - Keeley33 commented on June 14th 19 at 19:44

Find more questions by tags IPProgramming languages