In the GenericTCPClient.vb file, insert a break point at line 292
While i < StateObject.CurrentIndex
then run the application to see if it goes to that break point. If it does, then hover over CurrentIndex to see what the value it.
Next move the breakpoint to line 295:
If CurrentByte = m_TerminatingByteValue Then
Then press F5 and each time it hits the breakpoint, hover over CurrentByte to see what the value is. The last byte should equal the TerminatingByteValue, otherwise it will never process the packet.