C++ Socket Class for Windows

Discussion in 'C++' started by indian, Nov 21, 2007.

  1. indian

    indian New Member

    Joined:
    Nov 13, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    i am using Microsoft Visual C++ 2005 Express Edition
    tryed to use this code to learn winsock on windows

    http://www.adp-gmbh.ch/win/misc/sockets.html

    but software can't recognize winsock2.h ?

    i don't understand what is : "link them against Ws2_32.lib" :(
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    To run Win32 programs in Express edition you need a patch after which you can run the programs. Do you have the patch installed.
     
  3. indian

    indian New Member

    Joined:
    Nov 13, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I dont have this patch , where can i download it?
     
  4. indian

    indian New Member

    Joined:
    Nov 13, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Does it work with current code ? cause i don't want .NET socket
     
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice