0 Replies Latest reply on Apr 5, 2007 12:21 PM by mrlogin

    problem in sockets program

    mrlogin
      hi every one ... am creating a flash socket file which connect to a server localy... the server is working perfectly coz i test it using TELNET ... i am using the following code:
      var socket:XMLSocket = new XMLSocket();
      var IPtoConnect = null;
      socket.connect(IPtoConnect,9999);
      socket.send("Testing 1 2 3 \n");
      socket.onData = function(data) {
      trace(data);
      in_txt.text = data + "\n-----------------------------------\n" + in_txt.text;
      }


      The file is able to connect -> send but it wont recive any ... please please please help i've been trying for 1 month Thank...