delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/23/12:36:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <31b7d2790710230936t7a0d169fs8647ebb0ae18552d@mail.gmail.com>
Date: Tue, 23 Oct 2007 11:36:27 -0500
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with Cygwin Include Files
In-Reply-To: <20071023084911.GM20400@calimero.vinschen.de>
MIME-Version: 1.0
References: <471D1D5B DOT 2070009 AT comcast DOT net> <20071023084911 DOT GM20400 AT calimero DOT vinschen DOT de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 10/23/07, Corinna Vinschen  wrote:
> On Oct 22 17:59, Larry Adams wrote:
> > Hello,
> >
> > The problem is that /usr/include/cygwin/icmp.h is blank and needs to be
> > "non-blank".
> >

- - - - words . . . - - - -

>
> It doesn't contain anything for a couple of reasons.
>
> - For ICMP you need raw sockets, but raw sockets were never really
>   supported in Cygwin.
> - Windows disallows non-admin users to use them which makes them
>   somewhat less useful.
> - There are not a lot of complaints about this fact so I assume
>   not many people really need it.
>
> And last but not least
>
> - Nobody contributed any code so far.
>
>   http://cygwin.com/acronyms/#SHTDI
>   http://cygwin.com/acronyms/#PTC
>   http://cygwin.com/contrib.html
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat

The perl Net::Ping module had a similar problem (see
http://www.perlmonks.org/index.pl?node_id=42739 for details).

These suggestions were implemented by the creation of the
Win32::PingICMP module which taps icmp.dll to circumvent the "you must
be admin" limitation.

I have neither the ability nor the desire to look in to recreating in
cygwin what icmp.dll and Win32::PingICMP do for Windows and perl.

I'm just letting other folks know that it is probably possible and
perhaps not that painful.

-Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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