Thread: winsock and dev-c++

  1. #1
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685

    winsock and dev-c++

    For some reason I cannot get any winsock applications running that I compile on dev-c++. I'm using wsock32.lib but when I run the program I get the message "linked to missing export Wsock32.dll." Needless to say I do have the dll.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    See if it works with the Winsock2 Version.

    WS2_32.lib

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Well I don't have the lib. Can any of you kind people send me ws2_32.lib at [email protected]?

  4. #4
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186

    Smile

    Actually, Dev-C++ carries the lib under the name libws2_32.a.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Fantastic. That works. Big thanks to johnnie2!!

Popular pages Recent additions subscribe to a feed