I am using CS4 trial version. i am trying to use XMLSocket to talk to external world. I have written a server program in VC. Server creates a socket and does all other operations required for communication. In Flas CS4 I am using the sample program given. Which is as follows
var theSocket:XMLSocket = new XMLSocket();
theSocket.onConnect = function(myStatus)
conn_txt.txt = "Connection Successful";
conn_txt.txt = "Connection Failure";
var myXML:XML = new XML();
var mySend = myXML.createElement("the node");
mySend.attributes.myData = "someData";
// button sends data
sendButton.onRelease = function()
theSocket.onData = function(msg:String):Void
the program is able to send data to the server but not able to receive data from server.
in server program it is showing that data is sent successfully.