Confusion with websockets

I’m using these Websockets to make a “slack” like chat service and I start by doing makeopenwithkey to open a connection to a server and when I send a message I use makesendwithkey. When I try to send a second message it doesn’t actually send it until I do a connect again with makeopenkey. Shouldn’t it keep the connection open until I close it or does makesendwithkey close the connection?

That doesn’t sound right, but if you want an alternative try

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.