NewDataReceived data length is incorrect

Jun 18, 2015 at 9:19 PM
Hi,

I have used SuperWebSocket for ages. For the first time I have to handle binary data. I have to replicate a simple Windows executable (the server). I ported all the connection + message sending/receiving stuff to my own solution, works just fine. But I am stuck at handling binary data. When client sends me any data (say, a 100K image), all I get is ~120-140 bytes of data that all starts with a series of 0x30. I tried fiddling with request lengths, buffer sizes etc. to no avail.

I have the latest SWS from NuGet.

Could someone please explain what should I do?

Cheers,
Peter