This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Missing inet_aton - Unsupported IP_HDRINCL
- To: cygwin <cygwin at cygwin dot com>
- Subject: Re: Missing inet_aton - Unsupported IP_HDRINCL
- From: Corinna Vinschen <vinschen at redhat dot com>
- Date: Mon, 27 Nov 2000 11:55:10 +0100
- References: <008201c055b9$c8db4d60$04e2f4d8@yeeha>
- Reply-To: cygwin <cygwin at cygwin dot com>
Hugh wrote:
> The problem is: I decided to port some short program that calls inet_aton.
> The function proto is in the header included in cygwin package
>
> 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
I have implemented this now. It appears in the 20001125 developer
snapshot.
> Now lets go to the IP_HDRINCL (this has to do with cygwin (blame on
> Miscros**t) ). IP_HDRINCL is undeclared so i decided to declare it but
> cygwins dll complaints about this being an invalid argument for setsockopt,
> which is reasonable. 1)does it have something to do with most of the windows
> platforms (lets say winsocks) not supporting this option?
Yes.
> 2)Ive read only
> Windows 2000 (not even NT) supports IP_HDRINCL. Has anyone tried it on W2K?
It's not documented in MSDN.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
mailto:vinschen@redhat.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com