I'm trying to make a web based chat using APE to create a TCP socket. Everything is working fine, but when I try to send many messages the socket breaks and I get the raw BAD_CHL.

var aux='<message from="'+user+'" to="'+rec+'"  xml:lang="en" type="chat">'           aux+=mensaje;
aux+='</message>';               
chat.get_socket().send(aux);

That is an example of my code to send a message. Has anyone had the same problem with APE and its tcpsockets?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top