Hi,
I am learning about xmlsockets. I have tried the given example (flash 8 help)
**var theSocket:XMLSocket = new XMLSocket();
theSocket.connect(“localhost”, 12345);
theSocket.onConnect = function(myStatus) {
if (myStatus) {
conn_txt.text = “connection successful”;
} else {
conn_txt.text = “no connection made”;
}
};
**
it returns always no connection made, but when i am testing http://localhost in my browser it shows home page(i am using wamp server).
I do not understand what the problem is please help me.
Thanks in advance
Gunjan