delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/10/11:54:37

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: <3BC46EC1.D66E497F@etr-usa.com>
Date: Wed, 10 Oct 2001 09:52:33 -0600
From: Warren Young <warren AT etr-usa DOT com>
Organization: -ENOENT
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: Libnet, libpcap, winpcap...
References: <LAW2-F139rXWq0GPlrw0000087a AT hotmail DOT com>

Simon Ouellette wrote:
> 
> 1 - Is it possible to install Libnet and/or libpcap in cygwin ? 

Unlikely.  A casual search of the mailing list archives at tcpdump.org
indicates that WinPCap's changes haven't been backported into libpcap. 
This is no doubt possible, if you wanted to do it.  

Several Unixy programs ship with an MSVC makefile or project file that
drags in Windows-specific code.  You could do that, as well as updating
their autoconf stuff to recognize Cygwin and build that way.  Then you
could build winpcap for both sets of Windows development tools.

> 2 - Can I write C programs under Cygwin that use the WinPCap library I
> installed ? 

Cygwin's ld can link in MSVC libraries, can't it?  If that's correct,
then I don't see why this wouldn't be possible.

> what would the name of the WinPCap
> library be(if it's possible to use it) ?

Download the package from http://netgroup-serv.polito.it/winpcap and
find out.

This server is frequently down, so be patient about getting in.

> 3 - Are IP raw sockets supported or not under Cygwin ?

Only to the extent that Windows itself supports raw sockets, I'm sure. 
See my FAQ (link below) for details.  Item 4.1 in particular.
-- 
= Winsock Programmer's FAQ: http://tangentsoft.net/wskfaq/
= 
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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