Instead of manually linking and adding winsock related lin and file just check the option in advance option tab of using winsock .
this option will come while you start creating project and choose options like MFC . win32 , them Dilaog box app or SDIor MDI , I think this that option of choosing winsock will come .