Detect server restart when using the tcp socket api

Forum Home Forums Development and Integration Detect server restart when using the tcp socket api

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9367
    zzz
    Participant

    Hi Mik,

    In my application (via pythonnet), scada configuration is cached locally. I need to update them on configuration change.
    Is there a way to detect this ?
    If not, I’d look for a way to detect server restart.
    If that is not possible, is there any way to detect client connection reset ?

    Currently the quick solution I come up with is to expose the
    Client.ServerComm.restConnSuccDT attribute, which now is protected.
    But that reqires compiling customized dll. Is there any better way or can it be exposed officially?

    • This topic was modified 9 months, 3 weeks ago by zzz.
    #9372
    Mikhail
    Moderator

    Hi,

    Using Rapid SCADA client you can get file age of incnl.dat file. It is changed when configuration is uploaded.
    ServerComm.ReceiveFileAge() method

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.