Somehow both Winsock and Winsock2 are being used. You should only be using one (probably Winsock). Can you check your project and look for references to or includes of Winsock2 or Winsock2.h?
Somehow both Winsock and Winsock2 are being used. You should only be using one (probably Winsock). Can you check your project and look for references to or includes of Winsock2 or Winsock2.h?
awesome! that worked.
FINALLY!
one last qtion...how do i, er, run the program in VS ? I confirmed it runs by clicking the debug button.
Thanks for all your help Daved!
>> how do i, er, run the program in VS ?
Execute (Ctrl-F5) works. It's an exclamation point icon. It's possible it has changed in VC++ 2008 but I doubt it.
You should also consider building it in Release mode. That will add optimizations and make it run much faster.
>> Thanks for all your help Daved!
Your welcome. Glad it's working.