-
October 19th, 2009, 10:38 AM
#1
LSClient.OpenConnection is blocking without throwing exception
LSClient.OpenConnection() is blocking without throwing exception. It used to throw exception immediately after a failed attempt.
-
October 21st, 2009, 10:19 AM
#2
OpenConnection invokes the low level socket connection API (HttpWebRequest).
The HttpWebRequest has its own timeout, which is not changed by Lightstreamer library.
The cause of the request failure may determine whether or not a wait is involved.
Which is your case?
For instance, I see that a request to a local non-existing port fails immediately,
whereas a request to a nonexisting domain fails after quite a long wait.
In any case, a timeout check on OpenConnection is not provided by the library, hence the application should provide its own.
Similar Threads
-
By Alex Zherdev in forum Client SDKs
Replies: 1
Last Post: December 1st, 2011, 09:33 AM
-
By bartol82 in forum Adapter SDKs
Replies: 1
Last Post: August 30th, 2011, 10:15 AM
-
By shreyaspurohit in forum Client SDKs
Replies: 6
Last Post: December 15th, 2008, 01:27 PM
-
By ap7256 in forum Adapter SDKs
Replies: 2
Last Post: October 18th, 2007, 10:15 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 03:49 PM.
Bookmarks