1 Reply Latest reply on Jan 4, 2008 12:26 PM by carlthorner

    XMLSocket error on create

    carlthorner
      When running the following code:

      public var xmlsock:XMLSocket = new XMLSocket(); //on line 66
      xmlsock.connect("192.168.1.1",8282);


      I get the following error when trying to run the application:
      ====================================
      An ActionScript error has occured:
      Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error.
      at MyApp()[/home/cthorner/Flex/MyApp/src/MyApp.mxml:66]
      at _MyApp_mx_managers_SystemManager/create()
      at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\flex_3_beta3\sdk\frameworks\ projects\frameworks\src\mx\managers\SystemManager.as:2436]
      at mx.managers::SystemMananger/docFrameHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects \frameworks\src\mx\managers\SystemManager.as:2328]
      ====================================

      Any ideas? I'm running this on Linux on both server and client side.

      Thanks,
      Carl