문제

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