Working around network failures

Go down

Working around network failures

Post  gberger on Fri Apr 04, 2008 1:19 am

I have a dating application that needs to retrieve data (text and images) from a webserver quite frequently. I currently make these connections via HTTP. I find that the connections fail quite frequently due to bad network connections.

Question 1: I am looking for a better, more reliable solution. Any suggestions? I was thinking perhaps of code that retries failed connections?

Question 2: What are the PRO's and CON's of a persistent TCP/IP (socket )connection over HTTP, especially when data needs to be retrieved quite frequently? I am thinking that maybe a persistent TCP/IP connection would reduce the amount of connection failures?

gberger

Posts : 1
Join date : 2008-04-04

View user profile

Back to top Go down

Back to top

- Similar topics

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