A Missing Header File

This is a discussion on A Missing Header File within the C Programming forums, part of the General Programming Boards category; Hey, I found this socket tutorial, and it requires that I have sys/socket.h, but I can't find it, and I ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    27

    A Missing Header File

    Hey, I found this socket tutorial, and it requires that I have sys/socket.h, but I can't find it, and I have Borland C++ 5.01 Enterprise, Visual C++, and Dev-C++ and none of those have it. So does anyone know where I can find sys/socket.h?

  2. #2

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    27
    Hi,
    socket.h is not for windows.
    Try winsock.h. Some of the def's are the same as socket.h.
    Hope this helps.
    Pappy
    You learn something new everyday.

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    27
    Thanks...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. missing header file...
    By roaan in forum C Programming
    Replies: 6
    Last Post: 07-03-2009, 07:43 AM
  2. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. pointer to array of objects of struct
    By undisputed007 in forum C++ Programming
    Replies: 12
    Last Post: 03-02-2004, 03:49 AM

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