How do I implement TimeOut in idarkstar?
Posted
by malik
on Stack Overflow
See other posts from Stack Overflow
or by malik
Published on 2010-04-30T06:19:54Z
Indexed on
2010/04/30
6:27 UTC
Read the original article
Hit count: 309
cocoa
Hi,
A little background on the question: I am developing a RedDwarf(http://reddwarfserver.org/) client on iphone, for the client/server communication I use idarkstar. I had to make minor modifications to make it work till now.
So here's the question, if the server is taking to long to respond or the network is very slow, how do I add a timeout functionality to make sure it doesn't keep waiting on the server forever?
appreciate any pointers.
© Stack Overflow or respective owner