Jack wrote: > Hello Francois, > > I find that calling pause in OnSessionConnected() is effective. > But calling pause in OnClientDataAvailable() does not work. > OnClientDataAvailable() keeps getting fired. Any ideas?
You may have paused the server socket instead of the TWSocketClient? Arno Garrels > -- > Best regards, > Jack > > Sunday, January 22, 2006, 10:33:21 AM, you wrote: > >>>> Maybe use Pause/Resume ? >>> >>> Oh, I didn't even know these two methods. So Pause will stop >>> all network connectivity on that socket until it's resumed? > >> It suppress async notification. So you don't receive events anymore but >> I/O continue as much as winsock can, for example filling his receive >> buffer. -- 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