>> It is always interesting to reuse objects instead of destroying them and
>> recreate a fresh copy. But speaking about stream, it depends on the type
>> of
>> stream. A TFileStream has to be destroyed to close the file.
> So as long I'm sending streams with a HttpCli, I don't need to free the
> stream in the requestdone event and create them int the Get-Post-Put 
> methods
> ?
> Just create the streams when the component is created and free when
> destroying the component?

If the stream behaviour is what you need, I don't see any problem with that.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html

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