Currently the websocket has a built in timeout of 30 seconds.
1. Is it possible to change to a different value
2. If it is not possible, and I want abort the connection attempt before the 30 seconds timeout, can I just simply re-initialize the socket to do this.
WebSocket.Initialize(...)
Dim options As JavaObject = WebSocket
options.GetFieldJO("options").RunMethod("setSocketConnectTimeout", Array(10000))
'connect
WebSocket.Initialize(...)
Dim options As JavaObject = WebSocket
options.GetFieldJO("options").RunMethod("setSocketConnectTimeout", Array(10000))
'connect