Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
Which WebSocket were you using? 00 or 07? 

Original comment by [email protected] on 6 Jul 2011 at 1:04

from unitt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
I did some homework and it appears that even the latest version of Grizzly code 
in svn is using 06, not 07. The primary difference, is that 06 does not mask 
the data and 07 requires the client to mask its data. This is causing the 
server to misread the data. I was able to connect successfully, but I could not 
send any data that the server would handle correctly. Again, this is because 
the headers are defined differently and Grizzly is incorrectly detecting the 
data length of 07 data frames. 

Original comment by [email protected] on 6 Jul 2011 at 3:22

  • Changed state: Invalid

from unitt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
Impressive responsetime. Thank you.

I was using 07, and was not aware of the different protocol versions. Will I be 
able to use 00 with grizzly? I.o.w. is 06 backward kompatible?

Original comment by [email protected] on 6 Jul 2011 at 5:44

from unitt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
Unfortunately, I did not see support for 00 at all. It only appears to support 
06, which is not backwards compatible with anything. I know Jetty supports 00, 
06, & 07. I haven't had a chance to check out Netty yet. All of the servers 
have a very similar interface you can use. There is some form of "onOpen", 
"onClose", "onMessage", etc. There should be very little difficulty in moving 
between them from a web socket perspective. Of course, this does nothing to 
help you if the rest of your app requires a specific J2EE server.

Original comment by [email protected] on 6 Jul 2011 at 3:11

from unitt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024

Original comment by [email protected] on 6 Jul 2011 at 3:14

  • Changed state: Verified

from unitt.

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.