my application, written in Java, need to get notified each time internet connection is re-established after it is lost.
my application, written in Java, need to get notified each time internet connection is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This question is very platform specific. Depending on your operating system, you have to evaluate the possibilities for acess to networking interfaces and how to be notified about changes. Since I don’t know a ready-to-use library to accomplish these kind of things, you might end up writing native, platform-dependent and perhaps low-level code yourself and invoking it from the JVM for instance via JNA or JNI.