winsock

how to use winsock in visual studio 2008? and as far as i know, you have to link it with libws2_32.a in dev cpp
WS32_32.lib should be in the SDK\Lib directory wherever you installed VS
but, what's the steps?
#pragma comment (lib, "ws2_32.lib")

Add this line to one of your files and you are done.
Topic archived. No new replies allowed.