Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread dos dedos



I'm not sure if Mono works on Mac OS X .. .NET is limited to Windows  So I decided to use Python .. Needless to say, I'm now officially a .NET deserter ... C# is cool but I got bored with it...I highly recommend Python for cross platform projects#dosManish Jethani [EMAIL PROTECTED] wrote: On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote:   I am using .NET for the socket server. There are many examples available out there.  This one's my favourite:  http://www.aflax.org/examples/sockets/sockets.html  Manish   
	
		 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.



  









RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread dos dedos



I'm going to be running the SWF from "localhost" so it won't have to go thru the NAT and can run on the user's machine at, e.g. http://localhost/1234 ... 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) 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 portI 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? :)ThanksMarcTed Patrick [EMAIL PROTECTED] wrote: You can run a socket server over port 80 or many common open ports. Plus
 another thing to keep in mind is that with Flash Player, connections are initialized from behind the firewall out to the Internet. Reusing common ports is the simplest answer.Actually using Python Twisted we have been able to make servers that support HTTP, Binary Sockets, and XMLSocket over the same port. Basically you call the server to get the SWF over HTTP on port 80, then make a socket connection back to the same port using XMLSocket or flash.net.Socket. It works like a charm.Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.com  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Garnett Sent: Thursday, March 16, 2006 3:14 PM To:
 flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI  The issue I ran into with sockets is that not everyone has all of their ports open, which essentially cuts out a decent portion of users.  --JoshOn 3/16/06, Manish Jethani [EMAIL PROTECTED] wrote:  On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote:   I am using .NET for the socket server. There are many examples available out there.  This one's my favourite:   http://www.aflax.org/examples/sockets/sockets.html  Manish   -- 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/   -- No virus found in this incoming message. Checked by AVG Free Edition.
 Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006-- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006   __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



  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.



  









Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Weyert de Boer
Hello


 I'm not sure if Mono works on Mac OS X .. .NET is limited to Windows 
 So I decided to use Python ..
 Needless to say, I'm now officially a .NET deserter ... C# is cool but I
 got bored with it...

Mono works fine under MacOSX for me. I mainly use Chrome for development
under .NET, it's really nice alternative for Delphi and works nicely under
different platforms. Some over the services are written on .NET. Also my
.NET solution for Flash + PocketPC is written in Chrome but this will be
converted for C# within the upcoming weeks. Too make more it usefull other
people.

 I highly recommend Python for cross platform projects

Python on mobile devices is nice, though. I won't use for other projects
such as computer application. I would prefere Chrome over Python.

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/


--
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/
 




Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Weyert de Boer

 Thanks for the tip on Mono/OS X ... that helps to know.

Yes, it works. Red Hat and FreeBSD is a positive too.

 What attracts me to Python is it's somewhat twisted personality (and not
 its productivity or consistency) ... I get bored very quickly with good
 clean fun

Yes, Python is nice for most purpose of course. I only don't really like
the syntax of course it's better then the syntax of Ruby. I consider Ruby
just ugly and moving functionality of a IDE (i.e. templating) into the
syntax of the language.


--
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/
 




Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Nirav Mehta
Hi,

 I'm not sure if Mono works on Mac OS X .. .NET is limited to Windows 

Mono runs on Mac. We actually did a cross platform application with C# 
(Mono on Mac, .Net on Windows). Called it Dagwood Sandwich approach ;) [1]

We discovered a bug in the socket implementation in Mono though. Async 
operations wouldn't work on Mac. So we had to do some workarounds. But 
the bug is resolved now. [2]

HTH.

:Nirav

[1]: 
http://www.mehtanirav.com/2005/08/29/developing-cross-platform-interactive-applications/

[2]: http://bugzilla.ximian.com/show_bug.cgi?id=75436


--
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/
 




Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread dos dedos



Beauty is in the eye of the beholder (or developer) I don't recommend my own kind of thinking on this but to some people having little quirks and weirdness in the language is what's most attractive .. I totally understand what you mean re Python and Ruby.. although I think it comes down to personal inclination, not logic :)Weyert de Boer [EMAIL PROTECTED] wrote:   Thanks for the tip on Mono/OS X ... that helps to know.  Yes, it works. Red Hat and FreeBSD is a positive too.   What attracts me to Python is it's somewhat twisted personality (and not  its productivity or consistency) ... I get bored very quickly with good  clean fun  Yes, Python is nice for most purpose of course. I only don't really like the syntax of course it's better then the syntax of Ruby. I consider
 Ruby just ugly and moving functionality of a IDE (i.e. templating) into the syntax of the language.   
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






--
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.



  









Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread dos dedos



Called it Dagwood Sandwich approach ;I find that just a bit more than intriguing ... lolYour academic cross-referencing style is enviable :)marcNirav Mehta [EMAIL PROTECTED] wrote: Hi,   I'm not sure if Mono works on Mac OS X .. .NET is limited to Windows   Mono runs on Mac. We actually did a cross platform application with C#  (Mono on Mac, .Net on Windows). Called it Dagwood Sandwich approach ;) [1]  We discovered a bug in the socket implementation in Mono though. Async  operations wouldn't work on Mac. So we had to do some workarounds. But  the bug is resolved now. [2]  HTH.  :Nirav  [1]:  http://www.mehtanirav.com/2005/08/29/developing-cross-platform-interactive-applications/  [2]: http://bugzilla.ximian.com/show_bug.cgi?id=75436   
		Yahoo! Travel 
Find  
great deals to the top 10 hottest destinations!





--
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.



  









Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Weyert de Boer
Hello

 I don't recommend my own kind of thinking on this but to some people
 having little quirks and weirdness in the language is what's most
 attractive .. I totally understand what you mean re Python and Ruby..
 although I think it comes down to personal inclination, not logic :)

Sure, I am just expressing my opinion about these languages :-) Of course
you need to
work with the tools you can do the job the best way (or easiest).

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/


--
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/
 




RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Ted Patrick










Actually you can now compile Python into
.NET CLR via IronPython. Python runs almost 3 times faster under .Net and can
optionally be statically compiled to run much faster. I know several devs are working
hard to port Twisted over to IronPython including support for network events
via the OS select loop.



Its the best of both worlds really.
Easy to develop in, easy to deploy, easy to scale.



Although I am very biased here, I drank
the Python Kool-Aide 10 years ago.



Happy St.
Patricks Day!



Cynergy
Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos
Sent: Friday, March 17, 2006 9:34
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTP (or
socket) Client and Server in Flex UI






I'm not sure if Mono works on Mac OS X .. .NET is limited to Windows  So I
decided to use Python .. 

Needless to say, I'm now officially a .NET deserter ... C# is cool but I got
bored with it...

I highly recommend Python for cross platform projects

#dos

Manish Jethani
[EMAIL PROTECTED] wrote:

On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote:

 I am using .NET for the socket server. There
are many examples available out there.

This one's my favourite:

http://www.aflax.org/examples/sockets/sockets.html

Manish









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.



  











--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006
 


Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Weyert de Boer

 
 Called it Dagwood Sandwich approach ;


 I find that just a bit more than intriguing ... lol

 Your academic cross-referencing style is enviable :)

Haha, I called mine examples greenpulp :)


--
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/
 




RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread dos dedos



Cool... here is a hidden "Happy St. Patrick's day" message to all the Irish peeps, properly disguised as list chatter ...I got this from a good buddy who has a twin brother so it's funny in contextp.s. I'm celebrating by seeding my pirated episodes of Father Ted .. I don't think the BBC would care--Two men were sitting next to each other at a pub. After a while, oneguy looks at the other and says, "I can't help but think, from listeningto you, that you're from Ireland. The other guy responds proudly, "Yes, that I am" The first guy says, "So am I!  And where about from Ireland might yoube?" The other guy answers, "I'm from Dublin, I am." The first guy responds, "Sure and begora, and so am I. And what streetdid you live on in Dublin?" The other guy says, "A lovely little area it was, I lived on McClearyStreet in the old central part of town." The first guy says, "Faith  it's a small world, so did I. So did I.And to what school would you have been going?" The other guy answers, "Well now,
 I went to St. Mary's of course." The first guy gets really excited and says, "And so did I. Tell me,what year did you graduate?" The other guy answers, "Well, now, let's see, I graduated in 1964." The first guy exclaims, "The Good Lord must be smiling down upon us! Ican hardly believe our good luck at winding up in the same bar tonight.Can you believe it, I graduated from St. Mary's in 1964 my own self." About this time, Vicky walks into the bar, sits down, and orders abeer. Brian, the bartender, walks over to Vicky, shaking his head  mutters,"It's going to be a long night tonight" Vicky asks, "Why do you say that, Brian?" "The Murphy twins are drunk again."Ted Patrick [EMAIL PROTECTED] wrote:   Actually you can now compile Python into .NET CLR via IronPython. Python runs almost 3 times faster under .Net and can optionally be statically compiled to run much faster. I know several devs are working hard to port Twisted over to IronPython including support for network events via the OS select loop.It’s the best of both worlds really. Easy to develop in, easy to deploy, easy to scale.Although I am very biased here, I drank the Python Kool-Aide 10 years ago.Happy St. Patrick’s Day!Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.comFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos Sent: Friday, March 17, 2006 9:34 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTTP
 (or socket) Client and Server in Flex UI   I'm not sure if Mono works on Mac OS X .. .NET is limited to Windows  So I decided to use Python ..   Needless to say, I'm now officially a .NET deserter ... C# is cool but I got bored with it...  I highly recommend Python for cross platform projects  #dos  Manish Jethani [EMAIL PROTECTED] wrote:  On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote:   I am using .NET for the socket server. There are many examples available out there.  This one's my favourite:  http://www.aflax.org/examples/sockets/sockets.html  Manish  Yahoo! Mail Use Photomail to share photos without annoying attachments.  -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006   
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






--
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.



  









RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Jason Hawryluk





rofl, 
hahahaha

  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de dos dedosEnvoyé: vendredi 17 mars 2006 
  16:59À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] HTTP (or socket) Client and Server in Flex 
  UICool... here is a hidden "Happy St. Patrick's day" 
  message to all the Irish peeps, properly disguised as list chatter 
  ...I got this from a good buddy who has a twin brother so it's funny 
  in contextp.s. I'm celebrating by seeding my pirated episodes of 
  Father Ted .. I don't think the BBC would care--Two men were sitting next to each other at a pub. After a while, oneguy looks at the other and says, "I can't help but think, from listeningto you, that you're from Ireland. The other guy responds proudly, "Yes, that I am" The first guy says, "So am I!  And where about from Ireland might yoube?" The other guy answers, "I'm from Dublin, I am." The first guy responds, "Sure and begora, and so am I. And what streetdid you live on in Dublin?" The other guy says, "A lovely little area it was, I lived on McClearyStreet in the old central part of town." The first guy says, "Faith  it's a small world, so did I. So did I.And to what school would you have been going?" The other guy answers, "!
 Well now,
 I went to St. Mary's of course." The first guy gets really excited and says, "And so did I. Tell me,what year did you graduate?" The other guy answers, "Well, now, let's see, I graduated in 1964." The first guy exclaims, "The Good Lord must be smiling down upon us! Ican hardly believe our good luck at winding up in the same bar tonight.Can you believe it, I graduated from St. Mary's in 1964 my own self." About this time, Vicky walks into the bar, sits down, and orders abeer. Brian, the bartender, walks over to Vicky, shaking his head  mutters,"It's going to be a long night tonight" Vicky asks, "Why do you say that, Brian?" "The Murphy twins are drunk again."Ted 
  Patrick [EMAIL PROTECTED] wrote:
  




Actually you can 
now compile Python into .NET CLR via IronPython. Python runs almost 3 times 
faster under .Net and can optionally be statically compiled to run much 
faster. I know several devs are working hard to port Twisted over to 
IronPython including support for network events via the OS select 
loop.

It’s the best of 
both worlds really. Easy to develop in, easy to deploy, easy to 
scale.

Although I am very 
biased here, I drank the Python Kool-Aide 10 years 
ago.

Happy St. Patrick’s Day!

Cynergy 
Systems, Inc.Theodore PatrickSr. Consultant[EMAIL PROTECTED]tel: 
1.866.CYNERGYhttp://www.cynergysystems.com






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedosSent: Friday, March 17, 2006 9:34 
AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcode! rs] HTTP (or 
socket) Client and Server in Flex UI

I'm not sure if Mono works on Mac OS X .. .NET 
is limited to Windows  So I decided to use Python .. Needless to 
say, I'm now officially a .NET deserter ... C# is cool but I got bored with 
it...I highly recommend Python for cross platform 
projects#dosManish Jethani 
[EMAIL PROTECTED] 
wrote:
On 3/17/06, Tracy Spratt 
[EMAIL PROTECTED] wrote: I am using .NET for the socket server. There are 
many examples available out there.This one's my favourite:http://www.aflax.org/examples/sockets/sockets.htmlManish




Yahoo! 
MailUse 
Photomail to share photos without annoying attachments. 
--No virus found in this incoming message.Checked 
by AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.4/283 - 
Release Date: 3/16/2006
--No virus found in this outgoing message.Checked 
by AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.4/283 - 
Release Date: 
  3/16/2006
  
  
  Yahoo! MailBring photos to life! New 
  PhotoMail makes sharing a breeze. 
  





--
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.



  









RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Weyert de Boer

 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/


--
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/
 





RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread Ted Patrick










Here is a working server using HTTP and
Socket over the same port, full source in honor of St. Patricks day.



Blog Post

http://www.powersdk.com/ted/2006/03/st-patricks-day-sockethttp-server.php



Server Source

http://www.powersdk.com/download/stpatricks.py



Have fun. Cheers,



Cynergy
Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com





















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos
Sent: Friday, March 17, 2006 10:06
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] HTTP (or
socket) Client and Server in Flex UI






I'm going to be running the SWF from localhost so it won't have to
go thru the NAT and can run on the user's machine at, e.g.
http://localhost/1234 ... 

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) 

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? :)

Thanks

Marc

Ted
 Patrick [EMAIL PROTECTED]
wrote:



You can run a socket server over port 80
or many common open ports. Plus another thing to keep in mind is that with
Flash Player, connections are initialized from behind the firewall out to the
Internet. Reusing common ports is the simplest answer.











Actually using Python Twisted we have been
able to make servers that support HTTP, Binary Sockets, and XMLSocket over the
same port. Basically you call the server to get the SWF over HTTP on port 80,
then make a socket connection back to the same port using XMLSocket or
flash.net.Socket. It works like a charm.











Cynergy
Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com























From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joshua Garnett
Sent: Thursday, March 16, 2006
3:14 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTP (or
socket) Client and Server in Flex UI













The issue I ran into with sockets is that not everyone has all of their
ports open, which essentially cuts out a decent portion of users.

--Josh







On 3/16/06, Manish
Jethani [EMAIL PROTECTED]
wrote:





On 3/17/06, Tracy Spratt [EMAIL PROTECTED]
wrote:

 I am using .NET for the socket server. There are many examples available
out there.

This one's my favourite: 

http://www.aflax.org/examples/sockets/sockets.html

Manish


--
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/





















--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006







--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006









__
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



  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.



  











--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 

RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-17 Thread dos dedos



Wooohoo!Let us know "if and when" IFBIN goes live!Thanks very much Ted Ted Patrick [EMAIL PROTECTED] wrote:  Here is a working server using HTTP and Socket over the same port, full source in honor of St. Patricks day.Blog Post  http://www.powersdk.com/ted/2006/03/st-patricks-day-sockethttp-server.phpServer Source  http://www.powersdk.com/download/stpatricks.pyHave fun. Cheers,Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.com  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos Sent: Friday, March 17, 2006 10:06 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI   I'm going to be running the SWF from "localhost" so it won't have to go thru the NAT and can run on the user's machine at, e.g. http://localhost/1234 ...   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)   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? :)  Thanks  Marc  Ted  Patrick [EMAIL PROTECTED] wrote:You can run a socket server over port 80 or many common open ports. Plus another thing to keep in mind is that with Flash Player, connections are initialized from behind the firewall out to the Internet. Reusing common ports is the simplest answer.Actually using Python Twisted we have been able to make servers that support HTTP, Binary Sockets, and XMLSocket over the same port. Basically you call the server to get the SWF over HTTP on port 80, then make a socket connection back to the same port using XMLSocket or
 flash.net.Socket. It works like a charm.Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.com 
   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joshua Garnett Sent: Thursday, March 16, 2006 3:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI  The issue I ran into with sockets is that not everyone has all of their ports open, which essentially cuts out a decent portion of users. 
 --JoshOn 3/16/06, Manish Jethani [EMAIL PROTECTED] wrote:  On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote:   I am using .NET for the socket server. There are many examples available out there.  This one's my favourite:   http://www.aflax.org/examples/sockets/sockets.html  Manish   -- 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/  -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006-- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006  __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around  http://mail.yahoo.com  -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.4/283 - Release Date: 3/16/2006   __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
  
  

Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread dos dedos



Replying to my own tired brain:I should probably settle for polling!!1dos 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? Thanksmarc  Yahoo! Mail  Use Photomail to share photos without annoying attachments. 
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






--
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.



  









Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread dos dedos



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!!1dos 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? Thanksmarc  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.



  









Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread Abdul Qabiz



Hi,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
-abdulOn 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!!1dos 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.



  









Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread dos dedos



Hi Abdul :)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...Yes.. I'm leaning towards this approach UNLESS I find out that it's possible t o run an HTTPService polling loop as a thread separate from the AS execution thread I sent a message back to Ted Patrick on flexcoders about it...I'll check out your clientThanks a lotMarcAbdul Qabiz [EMAIL PROTECTED] wrote:Hi,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 -abdulOn 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!!1dos 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.comSPONSORED LINKSWeb site design developmentComputer software developmentSoftware design and development  
Macromedia flexSoftware 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
 . 
		 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.



  









RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread Tracy Spratt










How often are you talking about polling? And
how many clients?



I just built an app that uses both
XMLSockets and polling. 



The polling works fine, using setInterval
to invoke it. I have a hundred clients each polling every 2 minutes. The
server doesnt even think about breathing hard under that load.



I am still fighting security issues with
the socket functionality. The client side code is pretty simple. I am using
.NET for the socket server. There are many examples available out there.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos
Sent: Thursday, March 16, 2006
2:41 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTP (or
socket) Client and Server in Flex UI





Hi Abdul :)


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...


Yes.. I'm leaning towards this approach UNLESS I find out that it's possible t
o run an HTTPService polling loop as a thread separate from the AS execution
thread I sent a message back to Ted Patrick on flexcoders about it...

I'll check out your client

Thanks a lot

Marc

Abdul Qabiz
[EMAIL PROTECTED] wrote:

Hi,

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!!1

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 .
























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.



  











Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread Manish Jethani
On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote:

 I am using .NET for the socket server. There are many examples available out 
 there.

This one's my favourite:

http://www.aflax.org/examples/sockets/sockets.html

Manish


--
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/
 





Re: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread Joshua Garnett



The issue I ran into with sockets is that not everyone has all of their ports open, which essentially cuts out a decent portion of users.--JoshOn 3/16/06, 
Manish Jethani [EMAIL PROTECTED] wrote:
On 3/17/06, Tracy Spratt [EMAIL PROTECTED] wrote: I am using .NET for the socket server. There are many examples available out there.This one's my favourite:
http://www.aflax.org/examples/sockets/sockets.htmlManish--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/







--
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.



  









RE: [flexcoders] HTTP (or socket) Client and Server in Flex UI

2006-03-16 Thread Ted Patrick










You can run a socket server over port 80
or many common open ports. Plus another thing to keep in mind is that with
Flash Player, connections are initialized from behind the firewall out to the
Internet. Reusing common ports is the simplest answer.



Actually using Python Twisted we have been
able to make servers that support HTTP, Binary Sockets, and XMLSocket over the
same port. Basically you call the server to get the SWF over HTTP on port 80,
then make a socket connection back to the same port using XMLSocket or
flash.net.Socket. It works like a charm.



Cynergy
Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Garnett
Sent: Thursday, March 16, 2006
3:14 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTP (or
socket) Client and Server in Flex UI





The issue I ran into with
sockets is that not everyone has all of their ports open, which essentially
cuts out a decent portion of users.

--Josh



On 3/16/06, Manish
Jethani [EMAIL PROTECTED]
wrote:

On 3/17/06, Tracy Spratt
[EMAIL PROTECTED] wrote:

 I am using .NET for the socket server. There are many examples available
out there.

This one's my favourite: 

http://www.aflax.org/examples/sockets/sockets.html

Manish


--
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/

















--
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.



  











--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006
 

--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006