What is the better way to establish and reconnect to websocket in python?

Published: 9/10/2019
What is the better way to establish and reconnect to websocket in python?
Source: STACKOVERFLOW.COM

With code below, I can open up connections to different websockets by threading. This connections stay stable until the sockets server starts new. This can be more than a week. Form then on, no new data coming in. So it seems the reconnect doesn't work well. Now I did search in the web for another syntax and would like to know what would be best or better way in your view. Here the actual code in

Read more
Related news
Comment
FACEBOOK