X-Recipient: archive-cygwin@delorie.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@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Problem with Cygwin Include Files
In-Reply-To: <20071023084911.GM20400@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <471D1D5B.2070009@comcast.net> 	 <20071023084911.GM20400@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

