Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
SNMP or Statistics based Flash Apps?

SNMP or Statistics based Flash Apps?

2004-03-19       - By Jim Cheng

 Back
Reply:     1     2     3     4     5     6  

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)