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

Connecting to NET Printer always fails #82

Open
pajkho opened this issue Sep 24, 2022 · 0 comments
Open

Connecting to NET Printer always fails #82

pajkho opened this issue Sep 24, 2022 · 0 comments

Comments

@pajkho
Copy link

pajkho commented Sep 24, 2022

Trying to connect to a NET printer it always fails with error code "PingUtil_Message_HostErrorUnknown". Have tried on both emulator and real device. Also tried the react-native-ping library directly and it seems to always fail no matter which IP (even 8.8.8.8 fails). The only IP that works seems to be 127.0.0.1. After some googling this seems quite common with several different ping methods in Android and from my understanding using ping this way does not seem reliable. See for example: https://stackoverflow.com/questions/3905358/how-to-ping-external-ip-from-java-android

Any suggested solution for this?

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

1 participant