List Info

Thread: Reconnecting after conenction lost?




Reconnecting after conenction lost?
country flaguser name
Slovenia
2007-08-29 05:29:52
I want to use the LoudMouth library so that when the connection is lost the main application tryes to reconect in a loop every 10 seconds or so.
But the reconnect doesent work, ;I call the same function that is used to connect at the start, but when I call it as a reconnect function it does not work, sometimes it looks like some packages get trough but it doesnt really work. it works after I close the app and connect again.
 
So my questions is, is there anything speciall that I must do when I detect the lost connection, so that when the server/internet comes back up it connects again with no problems? 
 
Regards,
    Tomaz
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )