Doug Tangren wrote:
> I am new to using the xmlsocket class. Is it possible to use ruby and
> xml returned from an rxml builder template to get data from a server and
> pull it into flash.
>
In this case i think you can just load the xml like its a file.
It sounds like the server isnt creating a socket, just handling a normal
request.
> Can somebody help explain how xmlsockets work?
as for how sockets work, well an xml socket is just like any other TCP socket,
it just sends and receives xml data.
If you are using ruby then check out the TCPServer class
http://www.rubycentral.com/book/lib_network.html
and heres a thread specifically about a socket server for flash but it touches
on some of the issues with creating socket servers.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/54595
and another article covering xml sockets (although the server example is java)
http://www.gotoandplay.it/_articles/2003/12/xmlSocket.php
I hope thats some help to you...
martin
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com