Hello!

I have a sockClient on my app, but when I kill the aped on my server, the 
event don't call onDisconnect function. Why?

My socket:

var client = new APE.Client();

var coreApe = null;

var TCPSocket = null;

var socketCore = null;

client.load(); 


client.addEvent('load', function() {

TCPSocket = this.core.TCPSocket;
coreApe = this.core;
coreApe.start(); 
});
 client.addEvent('ready', function() { 
socketCore = new TCPSocket();
 socketCore.open(IP_CORE, PORTA_CORE);

socketCore.onopen = function() {

log_('Socket CORE conectado!');

}; 
  
socketCore.onread = function(data) {
data = utf8_decode(data);
json = stringToJson(data);
InterfaceClientCore.callback(json);
}; 

socketCore.onDisconnect = function() {
 log_('socket.onDisconnect');
}

});

Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to