Results 1 to 4 of 4
  1. #1

    how to reconnect after wifi disconnect and connect

    my streaming frozen after internet disconnection . which method i have to i use for reconnect and wait for connection

  2. #2
    Join Date
    Feb 2012
    All the latest client libraries automatically reconnect as soon as the connectivity is restored. In a completely transparent way for the application that does not have to do anything.
    Please could you specify the client library type (and the version) in use?


  3. #3
    hi , i am using this Lightstreamer.DotNet.Client -Version 3.1.6640.22649 on when wifi switched off interface invoke close method . when open again service didn't resume on same session

  4. #4
    Join Date
    Feb 2012

    Unfortunately the DotNet Client is one of the client libraries that does not support automatic re-connection and automatic re-subscription yet.
    Indeed, it provides a session recovery mechanism that under certain circumstances can allow the client session to survive to a temporary network outage.

    But please note that the recovery mechanism is triggered only in certain cases depending on client-side circumstances as the exact type of event that the client receives from the network, but also on the server side where can be configured the time a session can be kept alive, after the interruption of a connection at network level, waiting for the Client to attempt a recovery.

    So, could you confirm if you have changed the <session_recovery_millis> parameter in lightstreamer_conf.xml server configuration file?
    Please also could you confirm when you receive the IConnectionListener.OnClose Method? Just after the wifi switched off or when the network has been restored? Did you receive also a OnFailure call?

    Anyway, if you can leverage the Client library log it would be a great help to understand what happens.
    You could refer on this class from our demo, based on log4net, and initialize it with something like this:

     Server.SetLoggerProvider(new Log4NetLoggerProviderWrapper());
    Please be sure to set to DEBUG all log levels (




Similar Threads

  1. Replies: 6
    Last Post: March 9th, 2016, 09:53 AM
  2. Replies: 3
    Last Post: February 11th, 2014, 09:43 AM
  3. HTTP-Polling reconnect
    By tvhnet2013 in forum General
    Replies: 9
    Last Post: September 10th, 2013, 10:42 AM
  4. Replies: 11
    Last Post: January 9th, 2013, 10:27 AM
  5. config auto-reconnect interval
    By EWANG in forum Client SDKs
    Replies: 1
    Last Post: June 30th, 2009, 09:54 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
All times are GMT +1. The time now is 04:18 AM.