Header files

Hi,
This is Arun here, i am new to C++ programming. So i just wanted to know the link for the download of header files. For Eg:

sys/types.h
sys/socket.h
netdb.h
arpa/inet.h
unistd.h
netinet/in.h
They look like ones for Unix/Linux and should already by on your system in /usr/include and your compiler should already know about them......although thinking about it maybe Ubuntu won't have them in which case use the the synaptic package manager to get the headers package.

TCP sockets are quite a big project to take on if you're new to C++.

Good luck
No, actually i am programming a tcp state in C++ using windows, so there fore i needed the header files which are not present in the /usr/include.
I'm not that familiar with the windows API so I don't know for certain, but I don't think these files are valid for windows TCP sockets, I think you need to use the Winsock class.
Last edited on
You don't use those header files for Windows Sockets.

You need to find a Windows specific sockets tutorial.
If you can please suggest me a link or a book, it would be really very helpful for me.
Any thanks a lot for spending time for me.
A good book I think is:
Beginning Linux Programming
Authors: Neil Matthew and Richard Stones
Publisher: WROX press
http://www.wrox.com

I have the 3rd edition, but I think it has now moved onto the 4th edition
I have seen the 2nd edition available on the web as a free pdf - see here
http://people.freedesktop.org/~nagappan/beginning-linux-programming.pdf
Topic archived. No new replies allowed.