IsThereNet icon indicating copy to clipboard operation
IsThereNet copied to clipboard

Use TCP/UDP ping

Open Yourself1011 opened this issue 1 year ago • 3 comments

IsThereNet currently uses fping, which uses the ICMP protocol. Unfortunately, my school's wifi has blocked this (the ping command doesn't even work), so IsThereNet perpetually thinks I'm not connected to the internet, when I actually am. This makes the program basically useless. Would it be possible to have the option to use something like nping instead, which is able to ping via TCP or UDP, which is not blocked?

Yourself1011 avatar Dec 18 '24 17:12 Yourself1011

Interesting, does 1.1.1.1 actually respond to an UDP ping?

alin23 avatar Dec 18 '24 18:12 alin23

I could only get 1.0.0.1 (and some other random things like google.com) to respond to TCP. 1.1.1.1 doesn't seem to work with anything, and UDP doesn't seem to work with anything either.

Yourself1011 avatar Dec 18 '24 21:12 Yourself1011

I don't know if practically anything would respond to a UDP ping. UDP has no notion of request/response, it's fire and forget only. The only way you'll get a response is if you hit a service that's expecting to communicate via UDP (like some game servers). It's not automatic like ICMP or TCP.

LoganDark avatar Dec 27 '24 00:12 LoganDark