Hello

 

Thank you for your answer to my questions so far.

 

I'm using LTP-CPP CConnection to establish a connection to a reader.

 

If I call CConnection::openConnectionToReader(...) but the reader is not
available for some reason (powered off) the method call will simply hang.

What is the best way to back out of such a situation? 

 

Calling CConnection::closeConnectionToReader(...) from another thread will
not help as this call will return without causing the hung
openConnectionToReader(...) call to return.

 

Deleting the CConnection object while hung inside
openConnectionToReader(...) is not nice.

 

I guess the ideal solution would be to add timeout value to the
openConnectionToReader(...) method like it is done with e.g.
CConnection::transact(...)

But what should I do with the current options?

 

Please help!

 

Regards

Klaus

 

 

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to