Errors in LCCWIN32 Link...

Hi...
I make a little program in C language for send messages by ICQ ... and I compile it with LCCWIN32 compiler...
but in linker stage, cause errors in the winsock functions send(), recv(), etc...
what´s wrong... In compilation dont have problem... only in link...
the send(), recv() declarations, is in
the #include <winsock.h>
but the linker dont found the modules...

Please... help me!
grava_cdAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
You'll additionally have to add 'wsock32.lib' to your project - just including the header file isn't enough, the linker also needs this import library in order to find these functions...
0
 
grava_cdAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.