RTC Forums

Subscription => Support => Topic started by: levi on April 16, 2014, 09:45:00 AM



Title: How can i get the buffer?
Post by: levi on April 16, 2014, 09:45:00 AM
Hello:
I use rtc raw components.

When i used TRtcTcpServer or TRtcTcpClient 's Write or Read function, to  Send or Receive Datas,
How Can i Get the Sending or Receiving Buffer, so i can know What datas i have really Sent or Received in diffrent functions.


I can accomplete this by using globle values?

Is there another better way? Using Sending or Receiving Buffer of RtcServer?


Title: Re: How can i get the buffer?
Post by: D.Tkalcec (RTC) on April 16, 2014, 10:11:14 AM
You can not access internal sending buffers. You can only use the OnDataOut event to monitor how much data has been sent to the socket API. But this does not tell you how much data has been really sent, because socket APIs also have their own internal buffers.

Anyway ... what is the reason behind your question? Why do you want access to internal sending buffers?

Best Regards,
Danijel Tkalcec