This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inet_aton


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]