Working around network failures
Page 1 of 1
Working around network failures
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?
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
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|