Open zhaoyubetter opened 10 years ago
the code is : socketIO.connect(new IOCallback() {....} then the server is bad(I dont' know the reason);
but the websocket is seem to be in a dead cycle with 1,2
if deleted the code "reconnect(); " the app is OK, Is the trouble is 2 ? thank you
the code is : socketIO.connect(new IOCallback() {....} then the server is bad(I dont' know the reason);
but the websocket is seem to be in a dead cycle with 1,2
public void onClose(int code, String reason, boolean remote) { if(connection != null) connection.transportDisconnected(); }
if deleted the code "reconnect(); " the app is OK, Is the trouble is 2 ? thank you