I like Francois' idea to implement TCustomLineWSocket.InternalAbort and useit to clear TCustomLineWSocket's buffer, doing some or all of: FRcvdPtr := nil; FRcvBufSize := 0; FRcvdCnt := 0;At a minimum, setting FRcvdCnt := 0 will prevent TriggerSessionClosed from calling TriggerDataAvailable;
You are forgetting to free the memory. See TCustomLineWSocket.Destroy about how to do it properly.
-- [email protected] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- 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
