Giter Site home page Giter Site logo

k2ping's People

Contributors

kou029w avatar

Watchers

 avatar  avatar  avatar

k2ping's Issues

LCDに表示する項目を決定する

16文字2行LCD

+----------------+
|                |
|                |
+----------------+

せまい...

255.255.255.255 で15文字=ほぼ1行

長いのは面倒そう...とりあえずまずはアドレスはipv4のみにしよう

Windowsのpingの場合

PS C:> ping example.com

example.com [93.184.216.34]に ping を送信しています 32 バイトのデータ:
93.184.216.34 からの応答: バイト数 =32 時間 =159ms TTL=53
93.184.216.34 からの応答: バイト数 =32 時間 =147ms TTL=53
93.184.216.34 からの応答: バイト数 =32 時間 =246ms TTL=53
93.184.216.34 からの応答: バイト数 =32 時間 =160ms TTL=53

93.184.216.34 の ping 統計:
    パケット数: 送信 = 4、受信 = 4、損失 = 0 (0% の損失)、
ラウンド トリップの概算時間 (ミリ秒):
    最小 = 147ms、最大 = 246ms、平均 = 178ms
  • 4回がデフォルト
    • 送信回数
    • 受信回数
    • 損失率
    • 最小時間 ms
    • 最大時間 ms
    • 平均時間 ms

Linuxのpingの場合

  • 回数制限なし
    • 送信回数
    • 受信回数
    • 損失率
    • 最小時間 ms
    • 最大時間 ms
    • 平均時間 ms
    • 標準偏差 ms

とりあえずまずはWindows風の仕様にしよう

  1. アドレスが表示されている
  2. <ping実行>ボタンを押す
  3. 返答が表示される
    • タイムアウト(5s): Request timed out 17byte 略して timed out 9byte
    • IP, バイト数, 時間(ms), TTL
  4. 3.を4回1秒間隔くらいで繰り返す
  5. 統計情報が表示される

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.