I keep getting linker errors for winsock2 functions whenever I compile. I'm using DevC++ with the default compiler. It's definately not a code problem. It's got to be something in the Options somewhere. Anyone got an idea?
Printable View
I keep getting linker errors for winsock2 functions whenever I compile. I'm using DevC++ with the default compiler. It's definately not a code problem. It's got to be something in the Options somewhere. Anyone got an idea?
You need to link to libws2_32.a
Im not familiar with devc++, so I'm not exactly sure how you tell the linker which libraries to link to, but it's probably in the options somewhere.
Ahhh. Thanks, man. Worked great.