I have been getting this error for quite some time now and Google has not been of much help either.
I am a newbie to Winsock programming and trying to learn from onl
http://msdn.microsoft.com/en-us/library/ms738520(v=vs.85).aspx
Take a look at the stuff under "remarks". It is possible that you are trying to use an ANSI-C version of the function when you aren't compiling as ANSI-C.