1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,292
    Likes Received:
    365
    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,292
    Likes Received:
    365
    Trophy Points:
    83

Share This Page