Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #441
| From | Herbert Kleebauer <klee@unibwm.de> |
|---|---|
| Newsgroups | comp.os.msdos.programmer |
| Subject | Re: DOS TCP/IP Programming |
| Date | 2011-11-30 20:17 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <jb5vgu$rb9$1@speranza.aioe.org> (permalink) |
| References | <7658e1a8-79c0-4da9-ad51-df6711a54edf@j10g2000vbe.googlegroups.com> |
On 30.11.2011 15:20, Ryan Heath wrote: > I'm working on a project which involves the use of a DOS machine (for > speed reasons, Windows has got to many overheads etc). I'm currently > trying to incorporate Ethernet communications into our software. > > I'm running a Crynwr TSR packet driver which initialises correctly (it > prints the correct MAC address to the DOS prompt etc). > > I'm trying to interface with the TSR using the Packet Driver > Specification (http://www.crynwr.com/packet_driver.html) and by > reading through an example I've found (http://www.vijaymukhi.com/vmis/ > ethernet.htm). > > My problem is as follows... The 'TYPE' of NIC is reported as having a > value of '-1', and the example also specifies that a.x.bx should be > set to -1 (packet sniffer.c, shortly after the Ethernet address is > printed to the screen). > > The once it's been successfully initialised, the packet driver returns > a 'handle' which is used in all its other functions. The handle > returned from the example and my code is '-1', which doesn't seem to > be valid. I don't have DOS anymore, so I can't do any testing. But here is a newer version of the packet driver specification: http://www.bitlib.de/pub/assembler/pds111.zip and a simple ethernet sniffer (written in assembly) which worked with all ethernet cards / packed drivers I had: http://www.bitlib.de/pub/assembler/netzhack.zip
Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
DOS TCP/IP Programming Ryan Heath <ryanheath85@googlemail.com> - 2011-11-30 06:20 -0800
Re: DOS TCP/IP Programming Jim Leonard <mobygamer@gmail.com> - 2011-11-30 10:44 -0800
Re: DOS TCP/IP Programming Herbert Kleebauer <klee@unibwm.de> - 2011-11-30 20:17 +0100
Re: DOS TCP/IP Programming Ryan Heath <ryanheath85@googlemail.com> - 2011-12-01 01:12 -0800
Re: DOS TCP/IP Programming Georg <dosusb@googlemail.com> - 2011-12-04 14:19 -0800
csiph-web