how can i use winsock in cocos2d-x application for win32?

Hi there. Can you show me an example of application (like HelloWorld) with a tcp 1 byte sending from client to server (using winsock.h)?

Thanks