Hi,
I have some source that won't compile without a passing a flag to both the compiler and the linker. I was previously using Dev-C++ but I want to use MS VS2008 now and it won't work

In Dev-C++, all I had to do was go to Tools>Compiler Options and add the command -lws2_32 to both text boxes (one each for the compiler and the linker). All worked fine...

Now with VC++ 2008, this is what I tried:
Go to Project>(Project Name) Properties
Then go to Configuration Properties>C/C++>Command Line and added the command -lws2_32
In the same window, go to Configuration Properties>Linker>Command Line and added the same command, -lws2_32

However, doing this did not fix the problem I get these warnings when compiling and linking:
Code:
cl : Command line warning D9002 : ignoring unknown option '-lws2_32'
...
LINK : warning LNK4044: unrecognized option '/lws2_32'; ignored
Of course, do to these two errors, I get tons of others. I prefer using VC++ 2008 a lot over Dev-C++, but I can't get it to work...

Is there a way to fix this???

EDIT: I forgot to mention that I'm configuring and using the same build configuration, Debug.