Where are my Bytes ?

Feb 20, 2017 at 4:13 AM
I'm trying to use SS to transfer files of any size over TCP / LAN. Everything works fine when I run both the client (using ClientEngine ) and the server on the same computer but as soon as I try to send something over the network (even just a VM on top of my Dev system) it works in the beginning and then randomly stops.

I'm using my own BinaryRequestInfo and my own ReceiveFilter to handle the data flooding in. Here's how it works:
  • my receive filter expects a byte pattern like @@ followed by some other bytes. This marks the beginning of a byte array being an xml formatted string.
  • Once I have found this @@, it does something and calls the appropriate command as it should.
My issue is that for some reason, it works perfectly fine in the beginning and then at some point I keep receiving a lot of data but I can't find this @@ pattern anymore ??? Therefore I can't trigger the right command.

What am I missing ? Am I doing this right ? Is anyone facing the same issue ? Where are my Bytes ?

I'm using v1.6.6

Anyone ? Cheers