DZ-Jay wrote: > On Mar 28, 2010, at 13:00, Arno Garrels wrote: > >> It sounds indeed somewhat strange that Abort triggers DataAvailable. >> In general, when I call Abort I do not expect to receive any more >> data but actually want to stop all ongoing processing asap. > > Abort() calls InternalAbort(), which calls InternalClose() which > calls TriggerSessionClosed(), which if you are using > TCustomLineWSocket in LineMode, will call TriggerDataAvailable.
And that's IMHO nonsense, Abort should just throw away and free buffered line-data TCustomLineWSocket.SessionClosed should call inherited SessionClosed silently in this case, or am I missing the point? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
