Hi Richard
It depends on exactly how persistent you need the connection to be. rosstalk.sendMessageWithResponse will hold the connection open long enough to read a single response from the server but will still ultimately close it. If you truly need a persistent connection, this is done via the <listener/> tag where you can tell it to connect as a client - this will open a TCP/IP connection that will stay open for the entire life of your panel (and can also be closed/opened as needed by ogScript).
James
------------------------------
James Peltzer
Ross Video
------------------------------
Original Message:
Sent: 08-12-2025 07:25
From: Richard Hills
Subject: Maintaining a TCP connection to a device
I think I have found a post with the solution:
https://rossvideo.community/communities/community-home/digestviewer/viewthread?GroupId=205&MID=24268&CommunityKey=94781415-eb0f-4f9a-b891-c44d41d870c8
Just checking it out but looks like what I need
------------------------------
Richard Hills
Original Message:
Sent: 08-12-2025 03:49
From: Richard Hills
Subject: Maintaining a TCP connection to a device
Is it possible to maintain a tcp connection with a device? I have a device that allows subscriptions to certain notifications, but I have found no way to keep the connection open. Dashboard closes the connection after each command sent. Am I missing a trick?
------------------------------
Richard Hills
------------------------------