Re: [twsocket] TWSocket...

2009-12-17 Thread Arno Garrels
zayin wrote: > Question 2: Can I call Connect from inside the OnSessionClosed event > without trouble? No, that makes trouble. You have to post a custom message and reconnect from its message handler. Something like this: const WM_RECONNECT = WM_USER + 1 protected procedure WmReconnect

[twsocket] TWSocket...

2009-12-17 Thread zayin
Hi, Thanks, that is what I thought. I wanted to have one TWSocket listen for a connection from X and another listen for a connection from Y. But, I know what I need to do. Question 2: Can I call Connect from inside the OnSessionClosed event without trouble? Ciao, Mark -- To unsubscribe or cha