Both my work computer and home computer just doesn't have the Ws2_32.lib library. I've searched all the folders and ... nothing. I do have Ws2_32.dll, but copying it into my working folder doesn't do the trick. My system still says "cannot find -lWs2_32.lib"
Why did it put a minus el in front of Ws2_32.lib, does that mean something?
Please help, I'm burning out with how many hours I've put in.
This is a linker error and not a run-time error, correct?
Assuming, as FurryGuy noted, that you have libws2_32.a in your MinGW lib directory, you need to add that library to be looked for by CodeBlocks. Go to Project build options --> Linker settings --> and add ws2_32.