Is it possible to set timeout for http connection? And is it possible to stop http connection? I try few things but they didn't work.
Is it possible to set timeout for http connection? And is it possible to stop http connection? I try few things but they didn't work.
Hello noksi,
according to the MIDP 2.x specification (which is the basic specification for all Java MIDlets) and I quote:
Regards,public static javax.microedition.io.Connection open(String name, int mode, boolean timeouts)
throws java.io.IOException
Create and open a Connection.
Parameters:
name - The URL for the connection
mode - The access mode
timeouts - A flag to indicate that the caller wants timeout exceptions
r2j7