Fix 64-bit *nix compilation of pnNetProtocol.
Fix return values for Read_LCS & Write_LCS.
Merge pull request #306 from dpogue/netprotocol

Fix 64-bit *nix compilation of pnNetProtocol.