PHP 4+ supports text sockets.  I've managed to get Flex to talk to PHP via 
XMLSocket.  The problem is, all the professional (and open source) socket 
servers out there are in Java.  The example I found in Google works, but... 
it's only allowed me to connect.  Sending messages didn't work, but I akin 
that to the fact I'm not a very good PHP coder.

Check on Google for "php xmlsocket flash" and it should come up.

----- Original Message ----- 
From: "mvbaffa" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 07, 2006 12:12 AM
Subject: [flexcoders] Re: How Flex can be receive a Server Notification


Hi All, Thanks all of you for your answers.

I understand that FDS can notify the client when information is
updated in the server. But I am not using FDS.

This application uses AMFPHP, so I will have to use another method
for notification.

- Do you know any documentation for using sockets in Flex ???
- Is it possible ?????
- Is there any other method ????

Thanks


--- In [email protected], "David Mendels" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> This is one of the core goals of Flex Data Services:
> http://snipurl.com/FDS_DS
>
> -David
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[EMAIL PROTECTED] On Behalf Of mvbaffa
> > Sent: Thursday, July 06, 2006 5:54 PM
> > To: [email protected]
> > Subject: [flexcoders] How Flex can be receive a Server
Notification
> >
> > Hi All,
> >
> > I have a flex 2.0 application that need to be notified when
> > an event occurs at the server.
> >
> > I could start a timer at the flex client and poll
> > periodically the server, but this can be too heavy for
> > specific tasks. The better solution is to notified.
> >
> > Maybe the solution is to listen to a socket and let the
> > server process connect to the flex client.
> >
> > - Is this the best solution ????
> > - If yes where should I look for examples of socket
> > programming in actionscript ????
> >
> > Thanks in advance
> >
> >
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~--> Yahoo! Groups gets a make over. See
> > the new email design.
> > http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
> > --------------------------------------------------------------
> > ------~->
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>







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








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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



Reply via email to