well in the sample i see one error and a couple of warnings. So just looking at the error it's complaining that it can't load socklib.h. A quick search in C:\WindRiver\vxworks-6.3\target\h finds socklib.h in the directory C:\WindRiver\vxworks-6.3\target\h\wrn\coreip so i will hazard a guess that you do not have that path included in your robot project.
Screenshot below is an example of the paths included on a recent project created on my machine. if you right click the project, click properties, click build properties and go to the paths tab - does yours match?
As another person suggested, if you create a new example project you'll probably get all of that setup for you in the project.
