  | | | SNMP or Statistics based Flash Apps? | SNMP or Statistics based Flash Apps? 2004-03-19 - By Jim Cheng
Back John_Sheridan wrote:
> I knew Remoting kicked butt, but I didn't realize that it is THAT well > suited for what I want to do. I know that Remoting is really robust, > and has a very compressed & optimized data stream - but I never imagined > polling a service that often. I genuinely thought that FCS was the only > way to provide a real-time data stream.
Hmm, if you need a real-time stream rather than polling and have the means to install FCS (e.g. you're allowed to open a port on your server), you might can hold a socket connection open via XMLSocket and sending periodic refreshes with null bytes to trigger the onData event handler in Flash. Remoting can be tweaked to hold the connection open, though XMLSockets might be an easier way to have a persistent connection to a server over which to periodically transport data packets.
One possible way to do this via server-side scripting is via mod_pubsub, which has stable and well-supported versions in both Perl and Python. Also, Flash's null byte packet terminators are completely supported.
Regards, Jim
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107507 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |