Thread: Starting window sockets

  1. #1
    Registered User
    Join Date
    Jan 2003

    Starting window sockets

    I finally feel comfortable enough to move on up to sockets in Windows. I have searched and found a couple tutorials on sockets but most of which that are targeted towards windows all make use of the GUI. Since I don't know GUI programming I get confused on which parts are needed for sockets and which are needed for GUI. If anyone has any good tutorials that instruct the use of sockets under a Windows environment without the GUI feel free to post your links.

    Thank you.

    P.S. Brother and I share the same name and he knows a basic understanding of Sockets but only in *nix and I want to learn without his help. Pretty smart younger brother too

  2. #2
    Registered User
    Join Date
    Oct 2002
    Windows sockets are mostly based on the sockets model employed by Unix (Berkeleys), so the same command sequence is required to create and use a socket.

    MFC provides a CSocket class, and a CAsyncSocket class which can be used. Its best to look them up on MSDN, or at least post a question on the Windows Programming board.

  3. #3
    I think this site is pretty good for a beginner's winsock guide.

    On another note, has anybody noticed that this forum is getting more and more C++ code?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 06:57 PM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  3. how i create a window whith all it's elements
    By rasheed in forum Windows Programming
    Replies: 1
    Last Post: 05-31-2006, 06:53 PM
  4. no errors but still errors
    By Megatron in forum Windows Programming
    Replies: 7
    Last Post: 01-12-2003, 10:21 PM
  5. Invoking MSWord
    By Donn in forum C Programming
    Replies: 21
    Last Post: 09-08-2001, 04:08 PM