Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

titaniumdecoy

macrumors member
Original poster
Oct 13, 2005
86
0
I am writing an iPhone app that connects to a server using a basic UNIX socket. If the connection is broken because the user goes out of wifi range or some other reason, do I need to check for that and reconnect, or will the connection be reestablished by the OS when the user is back in range?
 
I am writing an iPhone app that connects to a server using a basic UNIX socket. If the connection is broken because the user goes out of wifi range or some other reason, do I need to check for that and reconnect, or will the connection be reestablished by the OS when the user is back in range?

You'll need to check for that and reconnect.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.