please how to add winsock library to Visual C++ 2008 Express? I tried including <windows.h>
alone, than <windows.h> and <winsock.h>,
but I get LINK error on WSAStartup().
I found somewhere that you need to add additional dependencies for your project, so I brought up linker for project properties, and in the select box for additional dependencies there was no ws_32.lib, So I tried to add it manually (write it) but still LINK Error....
Visual C++ Express don't install the full Windows SDK. You can download and install the full SDK from Microsoft.
After installing the SDK there is a tool (it will be on the start menu) to register the SDK directories with Visual Studio. After than you should be able to reference winsock.