How can comet be used with Flash programs?
What will be needed at server side for the same?
Does this require any customised servers or will normal IIS or Apache do?
Also is Juggernaut an example of flash based comet? how does it achieve comet?
How can comet be used with Flash programs?
What will be needed at server side for the same?
Does this require any customised servers or will normal IIS or Apache do?
Also is Juggernaut an example of flash based comet? how does it achieve comet?
Assuming you are talking about comet as in this article, you can achieve it using the URLLoader class. At the server side, you can use any technology that you would use with a normal AJAX application like jsp, php, asp etc. I remember reading somewhere that Flash closes the URLLoader connection after 30 seconds - you should take that into account while implementing long polling.
Flash has an altogether bigger better alternative to comet - it has 'remoting' using rtmp!
There's a whole world of languages and servers for your flash client to talk to; google haxe, rtmpy, rtmpd, red5 for some of the free and Free ones.
One of the haxe tutorials is ... a chat client and server.
Not exactly sure what you want but you can establish an open connection between the client and the server.
see this (flash client) and as an example, this (php socket server)