I want to use C header files for network programming.

Asked by R.Lakshmi Narasimhan

I would like to do socket programming in networks using C language.I don't have necessary header files like netinet/in.h, sys/types.h, sys/socket.h,etc,.Please help me how I can do these in Ubuntu 7.04.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello Lakshmi...

Install the "build-essential" package from synaptic..(not an internet installation,just pop in the ubuntu cd when its asked.. ;)) which will install packages necessary for compilation of C and C++ programs To debug your programs possibly, GNU Debugger ( " gdb " package) will be useful to you to correct possible errors of programming.

Hope it helps

Regards

Bhavani Shankar.

Can you help with this problem?

Provide an answer of your own, or ask R.Lakshmi Narasimhan for more information if necessary.

To post a message you must log in.