http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_5.html

The 1 example is using XMLSocket, but it's not much different via a
plain Socket.

The Flex 3 Socket works like you want; register an event handler with
the socket; the socket pushes DataEvents into your event handler when
it has some data.

Kit

On Thu, Oct 2, 2008 at 10:46 PM, Atlanta Geek <[EMAIL PROTECTED]> wrote:
> I apologize if I was not clear.
> Im writing code that connects to existing server/socket protocols that
> require complex state machines. I was wondering if there were examples
> of this already written in Flex
>
> On Thu, Oct 2, 2008 at 4:46 PM, Cameron Childress <[EMAIL PROTECTED]> wrote:
>> I assume you've already looked at Flex with RTMP?  Or even polling option?
>>
>> Here is a rundown of more of the available options...
>>
>> http://www.dcooper.org/blog/client/index.cfm?mode=entry&entry=8E1439AD-4E22-1671-58710DD528E9C2E7
>>
>> -Cameron
>>
>> On Thu, Oct 2, 2008 at 2:33 PM, Atlanta Geek <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi all,
>>> I've been doing some development replacing a  client/server app with a
>>> Flex/Web/Server app. This is in cases where we need faster screen
>>> updates than 1 or 2 a second that you can get with http.
>>> This usually consist of rewriting a socket protocol written in C to a
>>> flex app. An example of this is here:
>>> http://www.atlantageek.com/?page_id=44 . This app slows down quite a
>>> bit when multiple people are logged in.
>>>
>>> It has been really difficult to convert the blocking algorithms (wait
>>> for a response) that I've seen in the C code to truly event driven
>>> algorithms (Send a message, note message in a queue, event occurs with
>>> response. Match response with queue item. Do next step in state
>>> machine.)
>>> Has anyone done much of this type of stuff. This seems like an obvious
>>> place for flex. Is there example code or some sort of recipe to follow
>>> so that I can verify I am doing things right.
>>>
>>> --
>>> Stability is for the weak!!!
>>> Long live the next big thing.
>>>
>>>
>>> -------------------------------------------------------------
>>> To unsubscribe from this list, simply email the list with unsubscribe in
>>> the subject line
>>>
>>> For more info, see http://www.affug.com
>>> Archive @ http://www.mail-archive.com/discussion%40affug.com/
>>> List hosted by http://www.fusionlink.com
>>> -------------------------------------------------------------
>>>
>>>
>>
>>
>>
>> --
>> Cameron Childress
>> Sumo Consulting Inc
>> http://www.sumoc.com
>> ---
>> cell:  678.637.5072
>> aim:   cameroncf
>> email: [EMAIL PROTECTED]
>>
>> -------------------------------------------------------------
>> To unsubscribe from this list, simply email the list with unsubscribe in the
>> subject line
>>
>> For more info, see http://www.affug.com
>> Archive @ http://www.mail-archive.com/discussion%40affug.com/
>> List hosted by FusionLink
>> -------------------------------------------------------------
>
>
>
> --
> Stability is for the weak!!!
> Long live the next big thing.
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in the 
> subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to