RTC Forums
November 24, 2024, 11:39:23 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: How can i get the buffer?  (Read 4430 times)
levi
Newbie
*
Posts: 4


« 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?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.025 seconds with 17 queries.