FlashSocket error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FlashSocket error

Jairo
I was using FlashSocket for some time and it was doing well.
Now I can´t connect to my server and I don´t know why.

Te problem rises in module FlashSocket.as. In the following code:


                        if (message == "3probe")
                        {
                                // send the upgrade packet.
                                webSocket.send("5");
                                return;
                        }

After sending de "5" it disconnects, without any message.

Thanks for you help.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FlashSocket error

clintm
Sounds like a protocol error. Did you upgrade the websocket server?

Also do you see the crossdomain.xml request succeeding?

On Fri, Jul 14, 2017 at 8:27 AM, Jairo <[hidden email]> wrote:

> I was using FlashSocket for some time and it was doing well.
> Now I can´t connect to my server and I don´t know why.
>
> Te problem rises in module FlashSocket.as. In the following code:
>
>
>                         if (message == "3probe")
>                         {
>                                 // send the upgrade packet.
>                                 webSocket.send("5");
>                                 return;
>                         }
>
> After sending de "5" it disconnects, without any message.
>
> Thanks for you help.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlashSocket-error-tp15467.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FlashSocket error

Jairo
I found that it works with socket.io server 1.4.0.

When I upgrade do version 2 it stops working.

Does anyone knows animplementario of socket.io client that works with version 2?
Loading...