Android Open Source - old-nervous Trace Path






From Project

Back to project page old-nervous.

License

The source code is released under:

GNU General Public License

If you think the Android project old-nervous listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package ch.ethz.nervous;
/*from w  w  w. j  a va  2s .  c  o  m*/
public final class TracePath {
    static {
        System.loadLibrary("tracepath");
    }

    /**
     * TracePath to the specified host and port via UDP.
     * @return a new-line separated path of the form ttl:ip-address
     */
    public native String getPath(String host, int port);
}




Java Source Code List

ch.ethz.nervous.MainActivity.java
ch.ethz.nervous.TracePath.java