📄 readme.txt
字号:
VPACKET VxD for WINDOWS95
=========================
Unpacking Instructions
======================
Simply download the distribution file VPACKET.EXE and run it to unpack the
archive. Nothing on your system will be overwritten, nor will your registry
be altered.
If you decide you don't need vpacket, simply drag the \vpacket to the
Recycle Bin.
Documentation
=============
The driver is documented in the file vpacket.doc (WORD 7 format).
The documentation includes sample code.
Overview
========
VPACKET is a so-called "protocol driver", which allows WIN32 apps to access
underlying Network Cards via the NDIS 3.10 interface. It is useful for
students wishing to implement their own TCP/IP stack or for Network
Monitoring applications.
This version of the VPACKET VXD is loaded at run-time and requires no prior
installation.
The driver is loaded with the WIN32 CreateFile function and the returned
handle used in subsequent calls to WIN32 DevIoControl.
Supported operations: IOCTL_PROTOCOL_QUERY_OID
IOCTL_PROTOCOL_SET_OID
IOCTL_PROTOCOL_STATISTICS
IOCTL_PROTOCOL_RESET
IOCTL_PROTOCOL_READ
IOCTL_PROTOCOL_WRITE
IOCTL_PROTOCOL_MACNAME
IOCTL_PROTOCOL_BIND
After loading, an App must first BIND the protocol to the Netcard of choice.
Netcards have names like "0000", "0001" and so on. These names can be found
in the Registry at:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net
Thereafter, any of the supported operations can be performed on the bound
Netcard.
To use multiple Netcards, simply CreateFile and Bind for each Netcard. Use
the handle returned by each CreateFile to access the desired Netcard.
Be SURE to close all handles before exiting. On closing the last handle,
the driver will be removed from memory.
Note: Because the PPPMAC driver is NOT fully NDIS3 compatible,
the WRITE operation on PPPMAC does not work. However, all
other operations do work.
This driver was adapted for use in the P32 programming environment used at
the University of Canberra, Australia. The environment allows students to
program (amongst other things) network protocols, which require direct access
to the NDIS3 interface.
Report bugs to: Dipl.-Ing. Christopher Chlap
University of Canberra, Australia
chrisc@fir.canberra.edu.au
Build an app as follows:
========================
1. Edit setup.bat as follows:
Change vendor to the root directory of your Microsoft 4.0 or 4.2
compiler. *** Don't use 4.1 ***
2. Run the setup.bat file to establish the environment.
3. Build with the command: c conpack
Note that you can specify the filename (without the extension) of
any app you wish to build.
4. The VPACKET VxD is now dynamically loaded. No installation is necessary,
therefore, there is no vpacket.inf file.
To run an app:
==============
1. Be SURE that the vpacket.vxd is in the same directory as the app.
2. Be SURE that your app calls Bind(hVxD, Value)
where Value is a value listed under:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net
It will typically be something like "0000" but you should always get
it from the registry in the proper manner.
On my machine, I have "0000" (the DialUp Adapter) and "0002" (an Ethernet
adapter).
Enquiries to chrisc@fir,canberra.edu.au
------------------------------------------------------------------------
Release Notes for VPACKET.VXD
=============================
1. VPACKET.VXD allows WIN32 applications to:
Send Packets
Receive Packets
Set and Query OIDs
for any NDIS3 Netcard. Note that at present, sending to the Dialup Adapter
does not work. If anyone can get this to work, please email me !!!!!!!!!!!
The VxD is now dynamically loadable, so no installation is required.
2. An app performs these operations using the DeviceIoControl Interface as
illustrated in the sample conpack.exe and documented in vpacket.doc.
ACKNOWLEDGEMENT
===============
This software was based on a driver skeleton downloaded from:
ftp.microsoft.com\transfer\outgoing\developr\packet.exe
The original author is William Ingle (email address unknown) whom I wish
to thank for making the original code available.
Christopher Chlap,
School of Information Siences and Engineering
University of Canberra
BELCONNEN, A.C.T. 2615
AUSTRALIA
chrisc@fir.canberra.edu.au 6. August, 1997
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -