Where can i get these files. I would like to use winsock, but the samples i got (for windows not unix) require the linker to have these object libraries.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Where can i get these files. I would like to use winsock, but the samples i got (for windows not unix) require the linker to have these object libraries.
http://www.google.com/search?hl=en&lr=&q=download+winsock+c+libraries
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/apistart_9g1e.asp
i didnt dig too deep but i think you can find what you are looking for here.
- jonathan
there is no winsock32.lib in the /include or /lib files
They both come with dev in the /include directory. The first is for winsock, while the latter for win sock 2.
Kip
The library in question will have a name like
libws2_32.a
or
libwsock32.a
Wayne
Note that when you link the library named ws2_32, you use:
-lws2_32
And that the name of the file that contains the library is
libws2_32.a
This is a general pattern...
Wayne