Hello Markus, You dont have to loop. Just set a Timer and Connect, that's all. You can disable the Timer in OnSessionConnected. If timer expires just call Abort. When OnSessionClosed is called set a flag. When OnRequestDone is called and session is closed start your next connection (depending on success or not what you can set in in one of the events).
--- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be