igrigorik / em-websocket

EventMachine based WebSocket server

Home Page:http://www.igvita.com/2009/12/22/ruby-websockets-tcp-for-the-browser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Header Checksum always 0x0000

CapsE opened this issue · comments

Hi, Im currently working on using em-websockets in combination with an Android app. I tried a few hours to get a stable connection and it was never an issue to send data to the server BUT reciving almost never worked.

After I got really frustrated I took out WireShark to look into the network traffic and discoverd that EVERY Networkpackage sent by the em-websocket Server has the Header-Checksum 0x0000 which is marked red in WireShark because it has to fit to the header and be something like 0x4f7c.

I worked for 6 months with em-websocket and JavaScript and never ran into any errors but I looked into it and the problem exists there too. My guess is that Javascript is not that paranoid when it comes to these kind of things as Java (Android).

It may verry well be that this issue is not what is causing my trouble with Android but its the only thing I found so far. I hope you can fix this error soon.

kind regards:
CapsE

Sorry this Error can be closed. I just learned that my networkcard is responsible for generating the checksums and that wireshark is just not fetching the generated ones in time.

My misstake sorry