Comments (5)
Which WebSocket were you using? 00 or 07?
Original comment by [email protected]
on 6 Jul 2011 at 1:04
from unitt.
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.
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.
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.
Original comment by [email protected]
on 6 Jul 2011 at 3:14
- Changed state: Verified
from unitt.
Related Issues (20)
- Urls only work with at least 3 slashes in it HOT 3
- WebSocketDelegate pass websocket HOT 2
- WebSocket10 reports Sec-WebSocket-Version 10, but actually should be 8 HOT 4
- Fragmented packets aren't correctly assembled HOT 6
- When a header comes at the end of a fragment, subsequent fragments are not assembled correctly HOT 2
- Ios UnittWebSocketClient on to use SSL, how to configure the client and the server? HOT 4
- Receive large data from server HOT 3
- Null Bytes on the end of message HOT 3
- EXC_BAD_ACCESS on pingTimer object HOT 2
- WebSocketClient crash while WebSocket close HOT 2
- WSS tlssettings HOT 3
- TLS delegate missing HOT 3
- websocket closes after doReadTimeout HOT 12
- read operation time out after 30 seconds idle HOT 3
- Unknown Status code 426 on Tomcat 7.0.29 after Handshake
- iOS: iPhone 5 armv7s is not supported HOT 6
- Cocoa naming conventions HOT 3
- if force close server, app dies in iOSsimulator HOT 8
- How to use Cookie in WebSocketConnectConfig
- iOS: arm64 bit support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unitt.