Register and join over 40,000 other developers!
Recent Topics
-
Tekken 7
IsrealJones - Mar 22 2021 07:21 AM
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
New to the community
iwinx - Jul 17 2020 12:02 PM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

4 replies to this topic
#1
Posted 06 November 2012 - 08:09 AM
Hi!
I saw an applet created to test download speed. But I'm confused how to achieve that. You can go to this url and check it out. It's a government website. I thought java has no support like ping, traceroute.
I saw an applet created to test download speed. But I'm confused how to achieve that. You can go to this url and check it out. It's a government website. I thought java has no support like ping, traceroute.
Lost!
#2
Posted 06 November 2012 - 08:51 AM
Java has something called the JNI (Java Native Interface), which allows it to call libraries written in the host's native code. That's probably how they're doing it.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#3
Posted 06 November 2012 - 10:24 AM
Java has something called the JNI (Java Native Interface), which allows it to call libraries written in the host's native code. That's probably how they're doing it.
Hmm.... Yeah, I think that is the only way. But using JNI restricts system Independence, right?
Lost!
#4
Posted 06 November 2012 - 10:42 AM
Yes, but if you absolutely must have native access to the host, you're gonna be sacrificing platform portability anyway, so it should only be used when there is a very good reason to do so.
You can, however, write multiple libraries, one for each platform, and have Java detect the platform and load the appropriate library at runtime.
You can, however, write multiple libraries, one for each platform, and have Java detect the platform and load the appropriate library at runtime.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#5
Posted 07 November 2012 - 09:51 AM
Are you sure you're wanting to use the java applet route? With so many security issues in java right now, I leave all of my java plugins disabled and I'm sure many others do too.
Also tagged with one or more of these keywords: speed test, speed, broadband
Language Forums →
PHP →
Save JPG image every second - but avoid saving damaged/corrupt images comprised of multiple images?Started by elliottveares, 24 Nov 2015 ![]() |
|
![]() |
||
Language Forums →
PHP →
FastCGI vs Mod_PHP peformance?Started by elliottveares, 12 Oct 2014 ![]() |
|
![]() |
||
General Forums →
General Computing →
Selenium speedStarted by Vaielab, 02 May 2014 ![]() |
|
![]() |
||
General Forums →
General Computing →
Dns Software To Improve Speed?!Started by abderrahim, 22 Jun 2012 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download