delorie.com/archives/browse.cgi | search |
From: | "deckerben" <bdeck AT lycos DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <Pine DOT HPX DOT 4 DOT 21 DOT 0304081332480 DOT 11022-100000 AT fajnm1 DOT am DOT ub DOT es> <054d01c2fdc9$ffa76710$0600000a AT broadpark DOT no> <3e92e439$0$18023$9b622d9e AT news DOT freenet DOT de> <b71v08$6qs$1 AT pippin DOT warman DOT nask DOT pl> |
Subject: | Re: pcap (was 'porting PCI card driver from NT to DOS') |
Date: | Thu, 10 Apr 2003 21:40:58 +0200 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Lines: | 34 |
Message-ID: | <3e95c7fe$0$21733$9b622d9e@news.freenet.de> |
NNTP-Posting-Host: | 213.6.61.109 |
X-Trace: | 1050003454 news.freenet.de 21733 213.6.61.109:2239 |
X-Complaints-To: | abuse AT freenet DOT de |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>deckerben wrote in : <3e92e439$0$18023$9b622d9e AT news DOT freenet DOT de>... >> >>Gisle, have you ever tried to port the pcap library from www.tcdump.org to >>DJGPP-Watt32? The API it uses seems to be the one of choice ammong some of >>the GNU developers. > >Use Winpcap. (www.winpcap.org or so, this is BSD licensed stuff. The net card details and buffers you'll need to >retrieve from NT using >kernel device driver (supplied there) along with some glue code (supplied with examplesthere too). You would only >really need to write a ;packet driver' - a dos tsr - that acting as a VDD communcates with the above mentioned kernel >mode driver exposing itself packet driver API. >This can be done using Crymwr packet sources from simtel. > >I had this stuff well researched but I decided to stop supporting Microsoft operating systems, especially after Craig >Mundie started talking his nonsenses about open source. I am not sure what you mean. A DJGPP-DOS TSR that can call routines from a Windows DLL?? A networking-card specific device driver? More windows programming? I purchased a copy of Ndis3nt from Dan Lanciani. It comes with a DOS packet TSR that makes makes Windoze network-card connections available in DOS. It works great with Watt-32 (and PythonD :-) For $25 it sure beats all that programming, don't you think? Ben
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |