Некоторое время назад я искал программу для TCP-пинга, и даже кое-что нашёл. Однако это было не то, не хватало таймаутов, плохо работало с SSH и т.п. Поэтому я решил написать свою программу, попутно вспомнив программирование в среде Unix. Можно пинговать хосты по IP-адресу или имени, а также по произвольному порту. Программа измеряет время установления TCP-коннекта. С исходниками программы можно ознакомиться на GitHub. Пожалуй, это первый раз, когда я выкладываю свой хоть и небольшой, но код, на всеобщее обозрение. Пример выполнения программы:
$ tcpping oioki.ru OK Connected to oioki.ru:22, seq=0, time=51.653 ms OK Connected to oioki.ru:22, seq=1, time=50.844 ms OK Connected to oioki.ru:22, seq=2, time=54.059 ms
P.S. Жду комментов и багрепортов 🙂
31 thoughts on “TCP Ping – open source”
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
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!
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!
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
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
Hi there, its pleasant piece of writing concerning media print, we all be aware of media
is a great source of information.
This site was… how do I say it? Relevant!! Finally I
have found something which helped me. Cheers!
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.
I have read some good stuff here. Definitely price
bookmarking for revisiting. I wonder how much attempt you put to
create this sort of fantastic informative website.
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.
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.
Hi there, this weekend is pleasant for me, since this occasion i am reading this fantastic educational piece of
writing here at my residence.
If you want to obtain much from this paragraph then you have to apply these techniques to your
I read this paragraph completely concerning the difference of newest and
previous technologies, it’s remarkable article.
This post is genuinely a good one it helps new net people, who are
wishing for blogging.
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!
Hi, I want to subscribe for this blog to take latest updates, so where can i do it please help
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.
It’s amazing designed for me to have a website, which
is beneficial in favor of my know-how. thanks admin
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!
Thanks designed for sharing such a good thought, piece of writing is good, thats why i have read
Very nice blog post. I absolutely love this site. Thanks!
This article gives clear idea for the new people of blogging,
that truly how to do blogging.
What’s up, all is going fine here and ofcourse
every one is sharing facts, that’s in fact excellent, keep up writing.
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
It’s going to be finish of mine day, but before end I am reading this enormous
paragraph to improve my knowledge.
Thankfulness to my father who informed me about this weblog,
this website is truly awesome.
I know this site presents quality dependent posts and other information, is there any other web page which gives such information in quality?
Hello, its nice post about media print, we all understand media is a impressive source of
It’s fantastic that you are getting thoughts from this article as well as from our argument made at this place.
This is my first time pay a visit at here and i am genuinely pleassant to read everthing at