home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / msvibm.zip / NETWORKS / WINPKT.DOC < prev    next >
Text File  |  1994-10-12  |  4KB  |  92 lines

  1. WINPKT - Interface between Microsoft Windows and a Packet Driver
  2.  
  3. Introduction:
  4.  
  5.   The WINPKT.COM program has undergone various changes since it was first
  6.   released.  We are enclosing two versions.  The first one is WINPKT.COM on
  7.   the Kermit diskette.  This one works with MS-DOS Kermit 3.14 and it also
  8.   works with Winsock (but this does not mean that Kermit itself works with
  9.   Winsock, since Winsock is only available to 100% native Windows
  10.   applications, which MS-DOS Kermit is not).  In fact, this is the version of
  11.   WINPKT that is distributed with Trumpet Winsock.  Not much is known about
  12.   this version, except what has just been said, and that its "user interface"
  13.   is different from previous versions.  Instead of taking two interrupt
  14.   numbers on the command line, it takes only one, as in this example in which
  15.   a packet driver is started on interrupt 0x60, and then WINPKT is told to use
  16.   the same interrupt:
  17.  
  18.     NE2000 0x60 2 0x300
  19.     WINPKT 0x60
  20.  
  21.   This version of WINPKT comes without any documentation.  The second version,
  22.   stored on the Kermit diskette as WINPKT9.COM, is the older "two-interrupt"
  23.   version, which is described below.  This description still applies to the
  24.   newer one, except for the "user interface".  If you have trouble with the
  25.   new one, and you don't need to use Trumpet Winsock, we recommend you use the
  26.   older one, which we can support.
  27.  
  28. WINPKT is a helper program for Packet Drivers, called a "shim", because it is
  29. inserted between two other programs that normally talk directly to each other.
  30. It does an essential job for applications that use packet drivers and that run
  31. under Windows: it knows how to contact the application properly when a packet
  32. arrives for it.  The reason this is a tricky business is that Windows moves
  33. applications around in memory, but the packet driver thinks its applications
  34. are at fixed addresses.  If a packet driver attempts delivery the process will
  35. likely cause major systems problems (or worse) when the packet data is written
  36. to the wrong address.  To use the older WINPKT (WINPKT9):
  37.  
  38.  1. Start your packet driver, but give it an interrupt number higher than
  39.     the normal 0x60.
  40.  
  41.  2. Start WINPKT with a command line of:
  42.  
  43.        winpkt win_int pd_int
  44.  
  45. The first item, win_int, is the interrupt seen by applications as if WINPKT
  46. were a Packet Driver.  Let win_int be 0x60.  The second item, pd_int, is the
  47. interrupt of the real Packet Driver, say 0x63.  The two must be different
  48. values and please make win_int be SMALLER than pd_int.  
  49.  
  50. To use the newer WINPKT, start the packet driver on whatever interrupt you
  51. want, and then start WINPKT, telling it the same interrupt
  52.   
  53.   ne2000 0x60 2 0x300
  54.   winpkt 0x60
  55.  
  56.  3. Then start Windows.
  57.  
  58. Tell applications to use the win_int value for a Packet Driver interrupt.  Many
  59. applications will search for it instead, thus by making win_int smaller than
  60. pd_int they will find WINPKT instead of the Packet Driver (and that's what we
  61. want to happen).  (The new WINPKT simply takes over the Packet driver's
  62. interrupt.)
  63.  
  64. WINPKT does NOT permit one to run multiple TCP/IP applications together in
  65. Windows.  There are fundamental reasons why this should not be done.  It is
  66. fine to leave WINPKT installed when Windows is not active, because it becomes
  67. transparent then.  Please do NOT use the "-w" switch of Crynwr Collection
  68. Packet Drivers with WINPKT; that switch causes packets to be discarded.  Also
  69. it is not necessary to "fix application in memory" via the Windows PIF file
  70. when WINPKT is installed because WINPKT is smart enough to let that restriction
  71. be removed.
  72.  
  73. Here is a sample network startup Batch file with all the components in place:
  74.  
  75.   @echo off
  76.   c:\wd8003e 0x63 7 0x280 0xca00 (Regular Packet Driver)
  77.   c:\winpkt9 0x60 0x63         (Old WINPKT)
  78.   c:\ipx             (Packet Driver version of Novell's IPX)
  79.   c:\netx             (Netware shell)
  80.   @echo on
  81.  
  82. or (new WINPKT):
  83.  
  84.   @echo off
  85.   c:\wd8003e 0x60 7 0x280 0xca00 (Regular Packet Driver)
  86.   c:\winpkt 0x60         (WINPKT)
  87.   c:\ipx             (Packet Driver version of Novell's IPX)
  88.   c:\netx             (Netware shell)
  89.   @echo on
  90.  
  91. (End of WINPKT.DOC)
  92.