[hunchentoot-devel] Full-duplex socket connections in Hunchentoot

Austin Haas austin at pettomato.com
Fri Oct 5 19:08:15 UTC 2007


Hi, I use both Hunchentoot regularly and a custom Lisp server for communicating with Flash via the XMLSocket. They really don't have very much in common, and I can confirm that what Rafal said is true; it is pretty simple to write the XMLSocket server from scratch. My most basic one is about 150 lines of code, and it was one of my first Lisp projects.

-austin

-- 
Austin Haas
Pet Tomato, Inc.
http://pettomato.com

On Fri Oct 05 18:32 , Rafał Strzaliński wrote:
> On 10/5/07, Wouter Van den Broeck <wouter at csl.sony.fr> wrote:
> > Hello,
> >
> > I'm considering using Hunchentoot as a server for client applications
> > that connect with the server over full-duplex http socket connections
> > (such as Flash applications using XMLSocket). The general idea is
> > that the server can send messages to the client at its own initiative
> > and not only as a reply to a request.
> >
> > Having looked at the documentation and some aspects of the code, I
> > gather that there is no such functionality by default, but that it
> > should not be too difficult to integrate in Hunchentoot.
> >
> > If possible could you please roughly outline what you would consider
> > to be a 'good' approach to attain this objective such that it would
> > nicely fit in the existing design philosophy?
> 
> According to this documentation:
> http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary860.htm
> XMLSocket is not a HTTP based protocol. So instead using Hunchentoot ,
> you should consider writing your own socket server. XMLSocket protocol
> is quite simple, it should be hard.
> 
> 
> 
> -- 
> Best regards,
> Rafal Strzalinski (nabla)
> http://nablaone.net
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
> 



More information about the Tbnl-devel mailing list