XML Socket connect() to a remote socket server fails?
Posted on 2004-09-23
I am working on developing a flash application which uses XMLSockets
to connect a socket server.Here the server is a C/C++ application
running on a different machine.I am a newbie to flash
programming.Using Macromedia Flash MX 2004 Professional.
While testing, I hosted the flash application on a web server
(IIS)which was running on IP say 15.70.*.* network.The flash
application on getting the user name and password details in the form
submitted by the user has to connect to a server on port 5000 running
on a machine whose IP is 15.42.*.* network.
What happens is the connect() fails? But if the socket server and the
flash application runs on the same machine then it works!
The machines could be pingable and DNS lookup is also successful.We
could connect between these two machines using normal sockets(Windows
Is there any limitation on XMLSocket for this? I checked about
cross-domain policy, but not sure whether that would help me in my
case.I am not loading or sending data using loadVars() methods.
If someone could shed some light on this, it would be really helpful.
Thanks & Regards,