WebSocket -> Socket.io - disconnect

Hey,
I have been playing with Touch for a couple weeks now and have built out a twitter aggregator in NodeJS that passes the filtered feed into TouchDesigner. When it works, it works great but it disconnects after a short period of time. Is there a way to make the connection auto-(re)establish? Is there another socket system that might work a little bit more consistently?

Do you need to be sending a periodic ping?
derivative.ca/wiki088/index. … Socket_DAT

n.sendPing(message)

sometimes ping doesn’t seem to work for me so I use:

op(‘websocket1’).sendText(“2::”)

awesome, thanks!

i was just echoing the ping from node that I was sending in but it wasn’t working… n.sendPing was forcing a disconnect for some reason, but 2:: seems to be working