Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Sockets - C++

  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sockets - C++

    I'm trying to make a simple server program, using Beej's guide. http://www.ecst.csuchico.edu/~beej/guide/net/html/

    I've done this before, but using a Linux compiler. Now I'm on XP and using VC++ and I don't seem to have the header files. (sys/socket.h, sys/types.h, etc). Can I simply download those from somewhere, or is there a new way to do this or something? Please help.

  • #2
    New Coder
    Join Date
    Nov 2002
    Location
    Netherlands
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You should include winsock2.h under Windows


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •