Hi Members,
I have to connect a URL; but for only certain time interval. Now im using UrlConnection.connect(); But it loops around for one or more attempt whether it could make a connection. Instead i need to connect for certain time interval say 3 seconds; if the url specified is connected within the time interval; it should return 'true' or if it fails to connect the url with in the time interval specified it should return 'false'.
I need a sample
java code to perform this action.
Regards,
Prabhu.