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





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

Reply via email to