TCP Ping – open source

PoptocatНекоторое время назад я искал программу для TCP-пинга, и даже кое-что нашёл. Однако это было не то, не хватало таймаутов, плохо работало с SSH и т.п. Поэтому я решил написать свою программу, попутно вспомнив программирование в среде Unix. Можно пинговать хосты по IP-адресу или имени, а также по произвольному порту. Программа измеряет время установления TCP-коннекта. С исходниками программы можно ознакомиться на GitHub. Пожалуй, это первый раз, когда я выкладываю свой хоть и небольшой, но код, на всеобщее обозрение. Пример выполнения программы:

$ tcpping
  OK   Connected to, seq=0, time=51.653 ms
  OK   Connected to, seq=1, time=50.844 ms
  OK   Connected to, seq=2, time=54.059 ms

P.S. Жду комментов и багрепортов 🙂

31 thoughts on “TCP Ping – open source”

  1. I think that is one of the such a lot important info for me.

    And i’m happy studying your article. However should statement on few general things, The website style is perfect, the articles is really nice : D.

    Just right job, cheers

  2. This is the perfect webpage for everyone who wants to
    understand this topic. You know so much its almost tough to argue with you (not that I personally
    would want to…HaHa). You certainly put a new spin on a topic which has been discussed for decades.
    Wonderful stuff, just excellent!

  3. Hi there this is somewhat of off topic but I was wondering if blogs
    use WYSIWYG editors or if you have to manually code with
    HTML. I’m starting a blog soon but have no coding experience so I wanted to get advice from someone with experience.
    Any help would be greatly appreciated!

  4. I don’t know whether it’s just me or if everyone else experiencing problems with your blog.
    It looks like some of the text on your content are running off the screen. Can somebody
    else please provide feedback and let me know if this
    is happening to them too? This may be a problem with my
    web browser because I’ve had this happen previously. Thanks

  5. I do not know whether it’s just me or if everyone else encountering problems with your blog.
    It looks like some of the written text within your
    posts are running off the screen. Can someone else please
    comment and let me know if this is happening to them too?
    This may be a problem with my browser because I’ve had
    this happen before. Many thanks

  6. Every weekend i used to visit this website, for the reason that i want enjoyment, since this this website conations
    really good funny material too.

  7. Hello There. I found your blog the usage of msn. This is a really well written article.
    I’ll make sure to bookmark it and return to read extra
    of your helpful info. Thank you for the post. I’ll definitely return.

  8. whoah this blog is excellent i love reading your articles.
    Keep up the great work! You realize, lots of people are searching around for
    this information, you can aid them greatly.

  9. I read this paragraph completely concerning the difference of newest and
    previous technologies, it’s remarkable article.

  10. What i do not realize is in reality how you are now not actually much
    more smartly-preferred than you may be now. You’re very intelligent.
    You recognize therefore considerably on the subject of this matter,
    produced me in my view believe it from so many various angles.
    Its like men and women are not fascinated unless it is one thing to do with
    Lady gaga! Your own stuffs excellent. Always handle it up!

  11. Hi, I want to subscribe for this blog to take latest updates, so where can i do it please help

  12. Link exchange is nothing else but it is just placing the other person’s web site link on your page at proper place and other person will also do similar in support of you.

  13. What i don’t realize is in fact how you’re not actually a lot more smartly-liked than you might be now.
    You are very intelligent. You understand thus considerably with regards to this subject, made me personally believe
    it from numerous numerous angles. Its like men and women don’t seem to be interested except it is
    one thing to do with Lady gaga! Your individual stuffs
    excellent. At all times take care of it up!

  14. Pretty component of content. I simply stumbled
    upon your site and in accession capital to claim that I get in fact loved
    account your blog posts. Any way I will be subscribing on your feeds or even I fulfillment you get entry to constantly

  15. I know this site presents quality dependent posts and other information, is there any other web page which gives such information in quality?

  16. This is my first time pay a visit at here and i am genuinely pleassant to read everthing at
    one place.

Leave a Reply

Your email address will not be published. Required fields are marked *