Gary Stafford wrote:
> Hi,
> 
> 
> 
> I have an application that creates the data to send over a socket on
> the fly and would like to have a progress bar that tells me how much
> data is left to send.
> 
> 
> 
> So what is the best way to get information about the buffer that is
> used by 
> 
> 
> 
> Twsocketclient.PutDataInSendBuffer

Since v5.2 there's a property BufferedByteCount.

BTW: Any of the send-functions put the data into
the send buffer first. If you don't want the buffer
grow too large event OnDataSent is a good place to
send data in smaller chunks.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
 

> 
> 
> 
> 
> 
> Thanks for your help
> 
> 
> 
> Gary
-- 
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