Thread: Quick sockets question

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    25

    Quick sockets question

    Okay. I've decided to begin learning (networking) sockets. My question is this. Im on windows xp. I use MSVC++ 6 compiler. I program for DOS right now. What sockets library do I use, and is it already included for MSVC++ or do I have to get it?

    Ive seen GNU socket libraries, and also heard of something like winsock. What do I use?

    Also, I found a few small sockets tutorials, but nothing major. Does anyone know of some good ones?

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    AFAIK, If you're programming specifically for a windows system, then Winsock is your best bet. The other option is BSD (or berkeley) sockets, which is what winsock is based on.

    Also, I'd refer you to the networking board. There's a sticky there with some useful links.
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    319
    this is what i learnt winsock from ..
    http://msdn.microsoft.com/library/de...th_winsock.asp

    there is also udp sockets

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  2. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  3. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  4. Quick Question on File Names and Directories
    By Kyoto Oshiro in forum C++ Programming
    Replies: 4
    Last Post: 03-29-2002, 02:54 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM