newb to winsock

This is a discussion on newb to winsock within the Networking/Device Communication forums, part of the General Programming Boards category; im coming from python and using a language which is crossplatform and no differentiation between socket usage. i just learned ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    5

    newb to winsock

    im coming from python and using a language which is crossplatform and no differentiation between socket usage.

    i just learned ansi c, now i am trying to write my first real application. theres no gui just a command line interface. its a windows app - where can i learn about winsock and c programming? also, now that i switch from ansi c to windows c programming, what FREE compiler can i use ...? thanks in advance, im lost in the water here.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    57
    Quote Originally Posted by marla
    im lost in the water here.
    1. First get the compiler. Here is one easy option:
    http://www.bloodshed.net/

    2. Here are some good online references:
    a. excellent tutorial for windows gui programming in C.
    http://www.winprog.org/tutorial/
    b. good C reference online:
    http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
    c. good C tutorial:
    http://www.eskimo.com/~scs/cclass/notes/top.html

    3. Get some good reference books. Spend some money, if you are serious.
    It will be more difficult to learn on the cheap.
    As a minimum, get this often recommended book:
    "Programming Windows" by Charles Petzgold ( ~$40, get it from amazon.com)

    4. Look over the Cprogramming FAQ:
    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

    5. winsock? Let's wait until you're ready with the compiler, and
    can make simple programs.


    But do #1 first. If you have problems, ask.

  3. #3
    LMZ
    LMZ is offline
    Registered User
    Join Date
    Oct 2005
    Posts
    35
    im also newbie FOR winsock (only), maybe throw some links?
    im from LMoldovaZ

  4. #4
    Registered User
    Join Date
    Sep 2004
    Posts
    57
    Quote Originally Posted by LMZ
    im also newbie FOR winsock (only), maybe throw some links?
    If you are serious, I strongly recommend you buying a book with simple examples.
    Having the book saves you a lot of time.

    Here is the network FAQ page
    Useful Links And Good Books

    Here is a very simple example that I posted (both client and server)
    Troubles with Sockets

    If these are not helpful to you, a winsock newbie, please post why.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Winsock issues
    By tjpanda in forum Windows Programming
    Replies: 3
    Last Post: 12-04-2008, 08:32 AM
  2. Winsock Messaging Program
    By Morgul in forum Windows Programming
    Replies: 13
    Last Post: 04-25-2005, 05:00 PM
  3. Winsock - Where do i start?
    By Brain Cell in forum Networking/Device Communication
    Replies: 5
    Last Post: 02-14-2005, 01:39 PM
  4. Where do I initialize Winsock and catch messages for it?
    By Lithorien in forum Windows Programming
    Replies: 10
    Last Post: 12-30-2004, 12:11 PM
  5. winsock
    By pode in forum Networking/Device Communication
    Replies: 2
    Last Post: 09-26-2003, 01:45 AM

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