Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39748BA4.9776F4C2@cygnus.com>
Date: Tue, 18 Jul 2000 18:53:56 +0200
From: Corinna Vinschen <vinschen@cygnus.com>
Reply-To: cygwin <cygwin@sources.redhat.com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Matt Minnis <mminnis@prefres.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: inet_aton
References: <4.3.1.2.20000718103542.01e45688@mail.prefres.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Matt Minnis wrote:
> 
> I am getting an error:
> 
> network.o(.text+0x12c):network.c: undefined reference to `inet_aton'
> collect2: ld returned 1 exit status
> 
> I found the header in the include/arpa/inet.h
> 
> Where is the library to include?
> 
> How can I use this?

It's currently not implemented. Nearly all network
related functions in Cygwin are mappings of the
winsock functions. inet_ntoa isn't implemented in
winsock, at least it's not declared in the headers.

This shouldn't be too hard to implement, though.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

