Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TCP/UDP ping #15

Open
Yourself1011 opened this issue Dec 18, 2024 · 3 comments
Open

Use TCP/UDP ping #15

Yourself1011 opened this issue Dec 18, 2024 · 3 comments

Comments

@Yourself1011
Copy link

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?

@alin23
Copy link
Contributor

alin23 commented Dec 18, 2024

Interesting, does 1.1.1.1 actually respond to an UDP ping?

@Yourself1011
Copy link
Author

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.

@LoganDark
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants