winsock and dev-c++

This is a discussion on winsock and dev-c++ within the Windows Programming forums, part of the Platform Specific Boards category; For some reason I cannot get any winsock applications running that I compile on dev-c++. I'm using wsock32.lib but when ...

  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,789
    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 master5001@techemail.com?

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21