In the TWSocket component, I've noticed that if an exception is thrown
within an OnDataAvailable handler
(which is triggered from TCustomWSocket.ASyncReceive() method) they
will be ignored, and only the bMore flag is set to false which will
stop the receive loop.
Since the event delegate performs some background stuff before
triggering the event, shouldn't the Exception block call
HandleBackGroundException() to trigger OnBgException and give a chance
to the application to respond and abort the connection?
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