AnsweredAssumed Answered

Check if Libiio context is still valid

Question asked by ttyler777 on May 25, 2017
Latest reply on May 30, 2017 by ttyler777

Hello all,

 

Quick question, is there a quick way to check if an iio_conext is still valid?

 

For example, if I create a network context, and then disconnect that network connection, is there some way for libiio to quickly detect that the context is no longer valid?  I would like to do this without recreating the context.  This should work for both the local and network context.

 

Thanks,

 

Tyler Jackson

Outcomes