Users will have to install the Python server and the SWF will be installed with it so it will run on localhost, i.e. no firewall issues.

<<
i.e. you can always receive events/messages.
>>

So you're saying that instead of polling the Python server from Flex UI every N seconds, I could do the opposites and 'push' updates (via XMLSocket request-response behavior) from Python server to Flex UI?

That would be far better than polling the poor Python server since the Python server is aware when it has new data so the Flex UI doesn't have to bug it needlessly every N seconds!

Please let me know if that would work

Thanks

marc
Weyert de Boer <[EMAIL PROTECTED]> wrote:

> The Python server is on localhost, too, and will poll it from Flex every 1
> second using XMLSocket as advised by Stacey (and I assume the polling can
> happen in its own thread without interrupting user interaction with the
> Flex UI)

Well, XMLSocket doesn't need to be a push solution, i.e.  you can always
receive events/messages. Of course you would have some issues on the
client side because firewalls etc. I suppose you have control the
client-side.

> However, the Flex UI will still have to go out to the Internet to
> communicate with FES on the remote server and that will use just one
> protocol on one port

:-)

> I think you're needs are more advanced than mine.. I don't need to
> send/receive binary mode files or handle data streams ... but if and when
> I have such need in the future the question becomes: are you going to make
> your technique available in an IFBIN example? :)

I am not sure what for example you want, but within some months their will
be plenty of examples  (python, java, C# and hopefully C++) in a book ;-)

--
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to