I am not sure, if Flash Player can listen on particular socket. But what you can do is to start a session from Flash Player, then you can push data to player from server...
You can do p2p apps in Flash Player...two flash player cant communicate over socket, I think that would be a cool feature but security concerns :)
BTW! I wrote a HTTP client, dirty code actually..check out on my blog: http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/http_authentica.php
-abdul
On 3/16/06, dos dedos <[EMAIL PROTECTED]> wrote:
Yikes! I forgot there are no threads in Flex! so a polling/listening loop won't work ... I would have to have a timer to poll periodically ... no so pretty ...
:(
dos dedos <[EMAIL PROTECTED]> wrote:Replying to my own tired brain:
I should probably settle for polling!!!!!!!!!!!!!!111111111
dos dedos < [EMAIL PROTECTED]> wrote:
Hey, does anyone have an idea how to build an HTTP (or socket) client + server inside a Flex app?
I could use HTTPService for the client stuff but in my scenario I need to allow the Flex app to both send requests as well as receive them, so HTTPService is only half of the solution.. unless I'm missing something.
I could use FES pub-sub to push data to the Flex app (and HTTPService to pull data/make calls on demand) but I can't do that because of the additional cost of the FES deployment license (given that in my scenario the service would have to run on the user's desktop.) And I definitely want to avoid having to periodically poll for data from the Flex app.
I believe that it can be done but that I would have to spend a good amount of time experimenting with it.. However, it seems like a common need so I'd like to find out if anyone has done it before?
Thanks
marc
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
Yahoo! Mail
Use Photomail to share photos without annoying attachments.--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

