// Now the connection is established we can receive data. checkForIncomingData(); + + if(ready() && _connection.timeout()) { + log_debug(_("timeout? %s"), _connection.timeout());
+ //callMethod(NSV::PROP_ON_CLOSE); + //_vm.getRoot().removeAdvanceCallback(this); + //return; + } }
If I know how to check connection lost, to invoke onClose callback correctly is possible.