Create persistent websocket in Ignition

I want to open a websocket and make it open so the I can get the data back from server.

I really need some best practices on how to do that.

Hi nader.chinichian,

Do you want Ignition to act as a socket server?
This wouldn't be recommended as you'd have to run a script eternally.

If that's not what you are seeking to accomplish, please clarify what you are looking to accomplish so that we can offer you a direct solution.