RTC Forums
March 29, 2024, 04:42:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Trapping timeout  (Read 2709 times)
m0n0
Newbie
*
Posts: 1


« on: October 14, 2010, 11:20:42 PM »

Hello Danijel!

First of all, congratulation with v4 release. I didn't check it yet, as current free SDK still very useful, but I probably will move to v4 as soon as JSON-RPC will be added.

Anyway, here's the question. In OnDisconnect event of TRtcConnection descendants is it possible somehow check if this event was called by timeout, and not by any other reason?

Thanks,
Alex
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: October 15, 2010, 06:17:42 AM »

Hi Alex,

I have just released an update for the RTC SDK (v4.2010.Q3 Build 402) which adds a new "TimedOut" method to all TRtcConnection component descendants. The new "TimedOut" method will return TRUE if a connection was closed because of a timeout set using the "Timeout" property.

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.022 seconds with 16 queries.