In my J2ME application, I need to time how long it takes for files to transfer from the server to the client (in KB per second for example). Does J2ME have any classes that would allow me to do this? How would I go about timing the transfer?
I'm using J2ME because it is required by my research.
posted 14 years ago
Ok. Are you using Bluetooth?
The problem is that J2ME (MIDP/CLDC) doesn't require devices to implement server sockets which means that the two emulators (I assume you're running some kind of device emulators on those laptops) can't connect with each other using TCP. Bluetooth should work, though.