Unix Programming - Download header files for running unix network programs

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2006 > Download header files for running unix network programs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Download header files for running unix network programs
jeniffer

2006-04-27, 7:56 am

I am new to socket programming and I want to download the entire header
file package (unp.h,unpifi.h,net.if_arp.h) used for making unix
network programs in C.Please tell me a good reliable source which has
steps to configure the libraries..Plz help me out

Nils O. Selåsdal

2006-04-27, 7:56 am

On Fri, 21 Apr 2006 02:21:25 -0700, jeniffer wrote:

> I am new to socket programming and I want to download the entire header
> file package (unp.h,unpifi.h,net.if_arp.h) used for making unix
> network programs in C.Please tell me a good reliable source which has
> steps to configure the libraries..Plz help me out


http://www.kohala.com/start/unpv12e.html

jeniffer

2006-04-27, 7:56 am


Nils O. Sel=E5sdal wrote:
> On Fri, 21 Apr 2006 02:21:25 -0700, jeniffer wrote:
>
>
> http://www.kohala.com/start/unpv12e.html


I downloaded the source and performed steps as given in the readme
file.On running the configure script :-
$ ./configure
: bad interpreter: No such file or directory
]$ sh configure
: command not found
: command not found
: command not found
: command not found
: command not found
'onfigure: line 57: syntax error near unexpected token `do
'onfigure: line 57: `do
--------------------------------
Also i find tht the configure script has several unset variables.Plz
tell me wht to do?

Nils O. Selåsdal

2006-04-27, 7:56 am

jeniffer wrote:
> Nils O. Selåsdal wrote:
>
> I downloaded the source and performed steps as given in the readme
> file.On running the configure script :-
> $ ./configure
> : bad interpreter: No such file or directory

You get this error often because the text file is in
"dos" format. The 'file' command should tell you -
find some tool to convert the file(s)
Pascal Bourguignon

2006-04-27, 7:56 am

"Nils O. Selåsdal" <noselasd@asgaard.homelinux.org> writes:

> jeniffer wrote:
> You get this error often because the text file is in
> "dos" format. The 'file' command should tell you -
> find some tool to convert the file(s)


Converting from MS-DOS newlines to unix newlines can be done with:

tr -d '\015' < file.dos > file.unix

or:

mv file file.dos && tr -d '\015' < file.dos > file && rm file.dos


--
__Pascal Bourguignon__ http://www.informatimago.com/

READ THIS BEFORE OPENING PACKAGE: According to certain suggested
versions of the Grand Unified Theory, the primary particles
constituting this product may decay to nothingness within the next
four hundred million years.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com