Hello Arno, > I think it is impossible that OnSessionClosed is fired twice, because > it is always checked whether FCloseInvoked = FALSE. > Isn't it possible that there are multiple instances?
I just ahve posted same message again, sorry for that (need some coffee). No there is only 1 instance that is the strange thing. The TWSocket is created in constructor and destroyed in destructor. Both are only called in program startup and terminate. Very strange. --- 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