delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/18/12:55:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39748BA4.9776F4C2@cygnus.com>
Date: Tue, 18 Jul 2000 18:53:56 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT 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 AT prefres DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: inet_aton
References: <4 DOT 3 DOT 1 DOT 2 DOT 20000718103542 DOT 01e45688 AT mail DOT prefres DOT com>

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019