small bug in the QuickStart/CustomProtocol sample project

Sep 12, 2012 at 3:14 PM

MyCommandReader::FindCommandInfo: 

in the last else: //when length = leftLength

BufferSegments.ClearSegements();     //add that line          
NextCommandReader = GetMyCommandDataReader(commandName, commandDataLength);               
return null;

Sep 12, 2012 at 3:52 PM

Cool, thanks for your finding!

I suggest you take a look at SuperSocket 1.5 's custom protocol implementation, I think it is pretty easier than v1.4.