Adding ICSSocket_Sending.Close as shown below solves the lockup problem:

  for i := Pred(slMessagesToSend.Count) downto 0 do
    slMessagesToSend.Delete(i);
  ICSSocket_Sending.Close; //Voila!

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any
attachments is strictly prohibited.   If you are not the intended
recipient, please contact the sender and delete the material from any
computer.
-- 
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

Reply via email to