|
|
 |
Re: FN-FORUM: XmlSocket problems in flex
date posted 21st November 2007 14:38
On 21 Nov 2007 09:53:41 -0000, James Herrington
[EMAIL REMOVED] wrote:
>
>
> > The flex application connects to the server fine because the server
> > displays a message to say that a new client has connected however no
> > data is received (i have monitored network traffic with ethereal and
> > nothing goes out). If anyone has any clues as to why i'd love to know!
> Ok, the socket is now sending the data however it only sends it when the
> flash player is closed e.g. it is getting stored in a buffer somewhere
> and isn't sent to the server until the connection is closed. The flex
> documentation says the following about the send() command:
>
> /'The send operation is asynchronous; it returns immediately, but the
> data may be transmitted at a later time.'/
>
> Is there anyway I can get it to send the data immediately?
>
Couple of thoughts -
Is the socket server on the same domain/ip as the flex, if not is
there a crossdomain.xml file allowing communciation in the socket
servers http root?
Are ioError and securityError events being triggered, if so what are
they returning?
Have a look via charles web debugging proxy for an easy to view
sequence of events/server responses?
|
 |
|