issue in biary request

Jan 2, 2015 at 2:22 PM
Edited Jan 2, 2015 at 3:38 PM
i am facing problem in supersocket, i am using fixed header
receive filter. its working fine if the length is same, but if length is diffrent a than specified it accpeting the request but later on request or not recived at server. how
to over come this.

I am using customprotocaol examle.
suppose if i am using echo command i am send request as below
65 63 68 6F 00 01 31 32 as per example here length is is 1 but i am sending 2 bytes data
it accepting the data of 31 only.
but later on if request data is 65 63 68 6F 00 01 31 also not accpting untill and unless we close and
recrete the connection
Coordinator
Jan 28, 2015 at 2:41 AM
Which receive filter template do you use?
It sounds like you use the FixedSizeReceiveFilter?

If you use FixedHeaderReceiveFilter, you can return different length from the method you need implement.
Or you implement incorrectly.