-
February 7th, 2014, 11:23 PM
#1
Hello,
the OS X client, just like iOS client, monitors the network status and is able to automatically reconnect in case of connection loss. You may try it with the sample application: open it and switch off then on the wi-fi adapter, the app will reconnect automatically. You may see from the app's sources that there is no code handling the reconnection in the clientConnection:didReceiveConnectionFailure: and clientConnection:didReceiveServerFailure: events, it is automatic. Our advice is to use the automatic reconnection whenever is possible.
Also, be sure to update your OS X client library to the latest version, 1.0.2 build 4.8, included in the latest Lightstreamer Server distribution. It contains many important bug fixes and documentation fixes. The updated documentation home page contains an improved explanation of the automatic reconnection mechanism, see there for more information.
Hope this helps.
Best regards,
Gianluca
Last edited by gianluca.bertani; February 7th, 2014 at 11:27 PM.
Similar Threads
-
By mhasan in forum Client SDKs
Replies: 1
Last Post: June 25th, 2015, 09:40 AM
-
By kpturner in forum Client SDKs
Replies: 12
Last Post: December 20th, 2012, 10:26 AM
-
By LS_Developer in forum Adapter SDKs
Replies: 2
Last Post: April 19th, 2011, 11:03 AM
-
By ivailo in forum Client SDKs
Replies: 2
Last Post: December 1st, 2009, 12:07 PM
-
By bartol82 in forum Adapter SDKs
Replies: 3
Last Post: October 20th, 2008, 02:01 PM
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 09:56 PM.
Bookmarks