|
-
March 9th, 2004, 08:23 AM
#1
how do i link the winsock library??
In the tutorial
http://www.hal-pc.org/~johnnie2/winsock.html
it says this:
"Remember that any code presented in this tutorial should be linked with the Winsock library, usually wsock32.lib or something similarly named."
how exactly do" i link the winsock library??"
#include wsock32.lib???
#include wsock32.h??
doesnt work
wsock32.lib's in binary
using vc++ 6.0 btw
-
March 9th, 2004, 08:48 AM
#2
In Visual Studio .NET go to Solution Explorer and give Properties of your project. Then go to Linker,Input, Additional Dependencies and type wsock32.lib.
I don't know about VS 6 but i suppose it is something like that
-
March 9th, 2004, 08:55 AM
#3
usually you link in the linker settings to ws2_32.lib (winsock2 dll) or
#pragma comment(lib,"ws2_32)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|