Comunidad de diseño web y desarrollo en internet online

Problemas con aplicacion con XML sockets

Citar            
MensajeEscrito el 04 Dic 2006 05:33 pm
Hola Gente colega, sigo con el tema de los XML sockets , tengo un aplicación que me da este error: ERRORYou have specified an action that does not have a handler associated with it
Me gustaria saber que es lo que está mal, estoy usando Electro Server. Si alguin sabe de algo por favor aviseme, muchas gracias, el codigo usado es este:
mySocket = new XMLSocket();

mySocket.onConnect = function(success)
{
if (success)
msgArea.htmlText += "<b>Server connection established!</b>"
else
msgArea.htmlText += "<b>Server connection failed!</b>"
}

mySocket.onClose = function()
{
msgArea.htmlText += "<b>Server connection lost</b>"
}

XMLSocket.prototype.onData = function(msg)
{
msgArea.htmlText += msg
}

mySocket.connect("localhost", 9875)


//--- Handle button click --------------------------------------
function sendMsg()
{
if (inputMsg.htmlText != "")
{
mySocket.send(inputMsg.htmlText + "\n")
}
}

Saludosss

Por .::Manu::.

45 de clabLevel



Genero:Masculino  

Argentina - Bs.As.

msie
Citar            
MensajeEscrito el 04 Dic 2006 05:56 pm
Por favor, no dupliques posts.
http://www.cristalab.com/foros/viewtopic.php?t=31912

Por Zah

BOFH

4290 de clabLevel

27 tutoriales
5 articulos

  Bastard Operators From Hell Editores

Zaragoza, España

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.