Giter VIP home page Giter VIP logo

Comments (6)

simb avatar simb commented on July 29, 2024

I have not tried to use this from Flash Pro. I'll see if I can put together a demo and see if it works.

from flashsocket.io.

drazmo avatar drazmo commented on July 29, 2024

Tried upgrading to latest websocket and got it working but still no success running from IDE. However, it works in debug mode. If I publish the swf works and .exe both connect successfully.

from flashsocket.io.

drazmo avatar drazmo commented on July 29, 2024

Found the problem...in FlashSocket.as constructor.

The urlLoader is getting request from cache! So it never initiates handshake...hence it works once in a while.

Changing link 57 to this fixes problem!

r.url = "http://" + domain + "/socket.io/1/?time=" + new Date().getTime();

from flashsocket.io.

simb avatar simb commented on July 29, 2024

Nice find! Did you fork the project? if you want to submit a pull request I can merge it. If not no worries, I can just update the code.

from flashsocket.io.

drazmo avatar drazmo commented on July 29, 2024

No..I didn't fork...go ahead an update the code! Thanks for the help!

On Sat, Dec 3, 2011 at 1:51 AM, Simeon Bateman <
[email protected]

wrote:

Nice find! Did you fork the project? if you want to submit a pull request
I can merge it. If not no worries, I can just update the code.


Reply to this email directly or view it on GitHub:
#6 (comment)

from flashsocket.io.

simb avatar simb commented on July 29, 2024

Fix applied to the source. Did you have to import Date?

from flashsocket.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.