UIKit0 / hoxchess

Automatically exported from code.google.com/p/hoxchess
0 stars 0 forks source link

Enhance: Improve the network-message parsing code #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should improve the network message parsing code.
For example, we should look for the "starting" token of "op=NNN" 
... instead of only looking for the ending token.

Original issue reported on code.google.com by huypha...@gmail.com on 6 Dec 2009 at 5:07

GoogleCodeExporter commented 9 years ago
Locate the first token "op=" in the incoming event (from the remote server) and
chop off whatever before the token.
Note: This change should make the command-parsing code more robust and make it
easier to modify the network protocol later without breaking the existing/old
versions.
http://code.google.com/p/hoxchess/source/detail?r=683

Original comment by huypha...@gmail.com on 7 Dec 2009 at 7:55