Subject: Re: Missing inet_aton - Unsupported IP_HDRINCL
From: "Ehud Karni" <[email-masked]>
To: "Hugh" <[email-masked]>
Cc: [email-masked]
Date: Sat, 25 Nov 2000 00:04:05 +0200

On Thu, 23 Nov 2000 23:56:35 -0200, Hugh Voras <[email-masked]> wrote:
> 
> cygwin\usr\include\arpa\inet.h
> #ifndef __INSIDE_CYGWIN_NET__
> unsigned long  inet_addr (const char *);
> int   inet_aton (const char *, struct in_addr *);   <<<======== HERE
> unsigned long  inet_lnaof (struct in_addr);
[ snip ]
> but the object code is not in the respective lib ...then (heh) when i try to
> compile that i get an undefined ref error msg:
> /cygdrive/c/WIN95/TEMP/ccBKKgud.o(.text+0x442):injection.c: undefined
> referenceto `inet_aton'

I use in my sources `inet_addr' which is an older (obsolete) function
to achieve the same goal of converting dot notation to binary IP.
It works with Cygwin 1.1.6 and it worked in all versions I used before
starting from B20.

Ehud.

-- 
 @@@@@@ @@@ @@@@@@ @    @   Ehud Karni  Simon & Wiesel  Insurance agency
     @    @      @  @@  @   Tel: +972-3-6212-757    Fax: +972-3-6292-544
     @    @ @    @ @  @@    (USA)  Fax  and  voice  mail:  1-815-5509341
     @    @ @    @ @    @        Better     Safe     Than     Sorry
 http://www.simonwiesel.co.il    mailto:[email-masked]

--
Want to unsubscribe from this list?
Send a message to [email-masked]