dos dedos wrote:
> I'm trying to find out from if it's possible to have a separate 
> "thread" that does constant polling (of new screen data), i.e. without 
> interrupting the AS execution thread. This way I won't have to develop 
> a custom push-pull protocol on top of binary socket (I would rather 
> stick to HTTPService for simplicity)
What kind of data are you sending via HTTPService?  It's easy enough to 
just send this as string data over a Socket connection, and eliminate 
the need for polling.  There's nothing stopping you from using strings 
over a Socket connection, allowing you to keep the same data format 
except move to push technology instead of polling, and eliminate your 
desire to have a separate "polling" thread.

In this situation, I'd recommend using an XMLSocket instead of a Socket, 
since it makes working with Strings / XML easier.  Binary Sockets are 
better when you need data at the byte level, XMLSocket is a little 
higher-level.  They work roughly the same...
>
> I think the VNC example by Darron Schall must be using a custom 
> protocol over binary socket to push screen data to the client ... If 
> that's the case I would sign up and check it out ...

My FlashVNC implements the Remote FrameBuffer protocol.  It's not 
terribly difficult, considering there's a really good spec for it:  
http://www.realvnc.com/docs/rfbproto.pdf

-d



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to