>Sirs,
>
> I am having linking problems trying to compile programs with
>winsock.h and tangensoft.net/wskfaq is telling me that probably I am
>using the wrong library.
>
> How can I add in my Project Options the wsock32.lib file to build
>basic console based C/C++ programs for Tcp/Ip?
.lib files are only available on VC++. In Dev (MingW (GCC))), libraries are
named as lib*.a (example, libwsock32.a). To use it in your program, simply
add -lwsock32 to your command-line (under Project > Project Options >
General > Linker Options/Optional Libs or Object Files).
All the libraries available can be checked under the dev/lib folder.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|