Header files

Jun 18, 2008 at 3:40am
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
Jun 18, 2008 at 6:13am
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
Jun 18, 2008 at 8:17am
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.
Jun 18, 2008 at 10:19am
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 Jun 18, 2008 at 10:19am
Jun 18, 2008 at 6:29pm
You don't use those header files for Windows Sockets.

You need to find a Windows specific sockets tutorial.
Jun 19, 2008 at 3:01am
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.
Jun 19, 2008 at 4:50am
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
Jun 19, 2008 at 5:21am
Topic archived. No new replies allowed.