I am trying to connect to server for web socket connection. but I am getting the error:
"Websocket is disconnected: Optional(Starscream.WSError(type: Starscream.ErrorType.writeTimeoutError, message: \"Timed out waiting for the socket to be ready for a write\", code: 0))"
Starscream.WSError(type: Starscream.ErrorType.writeTimeoutError
How can I solve it? also Here is my source code link: https://www.dropbox.com/s/v348vxxjf74dsds/websocket.zip?dl=0
I tried to connect after some time again too, Once its failed but still it's giving me same error.