Using NetworkTables with GRIP

Hi!
For the past few days, I have been experiencing issues with NetworkTables. I have been trying to use NetworkTables to access the values I have been getting from GRIP to our C++ code. I have tried using the exact same procedure as what was done in the NetworkTables C++ 2016 demonstration that was posted on their website but I have not been receiving results.
Here is what I have trying:
http://pastebin.com/WNrj4aUe
I would appreciate any help!
Thanks!!!

Is that your robot program? If so, why are you setting it to be client mode? The robot program generally acts as the server.