> It is created for sure. I create the stream once when application > started and it is Freed at application close. It maybe that I am > not clearing and resetting.
Yes, but when you read or write a stream, the next read/write position is where you last left it, and you probably read beyond the stream end, and then got an AV trying to write there. Clear the stream before every request. Angus -- 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