Jump to content


Simple XMLSocket Connection Failing


  • You cannot reply to this topic
No replies to this topic

#1 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 05 November 2006 - 06:43 PM

mySock = new XMLSocket();
mySock.connect("61.14.187.197", 5555);
mySock.onConnect = function(success:Boolean) {
	if(success) {
		output = "Connected";
	} else {
		output = "Failed";
	}
}
This is the code that isnt working. I don't know why, it seems perfect to me. I've uploaded it to the main directory of my server, apdistributors.net/xmlsocket.swf, yet it still returns that it's failed. If anyone could help that would be great.

Ben.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users