Http Connection in Nokia 6680

Go down

Http Connection in Nokia 6680

Post  javafan on Sun Sep 23, 2007 11:30 pm

Hi
I have developed an application using http connection.Due to the poor network(service provider...) connection,my request to the server is broken and I am getting a response code as 503,504....I dont want to break the connection.It there is any possibility to give timings for the http to try the connection again and again,until it reach successful status. Is there is any option to do that.I am getting this problem only in Nokia 6680.Nokia 6600,6230i all are working fine

Thanks in Adavance
avatar
javafan

Posts : 11
Join date : 2007-09-11

View user profile

Back to top Go down

Re: Http Connection in Nokia 6680

Post  guantana on Mon Sep 24, 2007 12:21 am

Javafan,

There is no provision in MIDP to set timeout for a HTTPRequest. So u have no way but to put you logic to get it done.......
Use while loop until u get the required response code.

Guantana.
avatar
guantana

Posts : 22
Join date : 2007-09-09
Location : New Delhi, India

View user profile http://guantana.blogspot.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum