
  UdpLib - Code for sending UDP packets over the internet using the
 packet driver interface.  Compiles under Watcom C/C++ 32-bit compiler.

<Freek Brysse (frbrysse@vub.ac.be), 11 november, 1997:
 * Replaced the _arp_resolve procedure, now the library works (too?) when 
 both IP's are on the same subnet.
 * Included generic NE2000 packet driver cz2000.com (author unknown)
 * Compiled, using Watcom 10.5a and Tasm 4.0, and successfully tested 
 on a LAN (no gateway). As I made no compiler specific adjustments,
 it should still compile under Watcom 9.5 and Masm 6.11
 * This version v1.111 was released as udp1111.zip on november 11th 1997
  with watcom 10.5a library included>

Freek's Udplib Page:  http://igweb.vub.ac.be/knights/udplib.html

John Slagel's original readme.txt :

  This is some code I wrote trying to get the DOS version of DescentII
 to use UDP (TCP/IP) to do networking.  A lot of 32-bit interfaces to 
 Waterloo TCP I've seen run a TSR in 16-bit mode and access it through
 interrupts, causing a real/protected mode switch everytime you do some-
 thing.  This code is all 32-bit, except a bit of 16-bit code called when
 a packet is recieved.  Note that all this does is set a flag basically.
 All data moving is done in 32-bit mode.

  It is based on the Waterloo TCP/IP code by Erick Engelke.  Basically I
 took the 16-bit code and converted it to 32-bit.

  My changes are lossy... that is, I didn't try to maintain the TCP part
 of the code, so only UDP packets work.

  I also made the interface easier to use by present a udplib simplified
 interface.  See Test.c for an example chat program and look at udplib.h
 for the prototypes.

  I included a batch file that builds everything, m.bat.  Once it is built,
 you only need to include UDPLIB.LIB and UDPLIB.H in your program to access
 the Internet from DOS!

  This requires Microsoft Macro Asssembler 6.11 (ml.exe) and Watcom 9.5.
 Newer versions might work, and it should be easy enough to port to other
 32-bit compilers.

  You need a packet driver and a valid wattcp.cfg file.   You can get the
 original Waterloo TCP/IP package and docs for more info on this stuff.


  You can send questions/commets to jslagel@volition-inc.com, I will try 
 to answer any questions.   

  If you fix any bugs or write better documentation, I would like to get
 it and include in this file.

  There is a file, pkt_int.txt that describes the low-level programming
 interface to the packet driver. I didn't write this, I just found it on
 the net somewhere.

  Enjoy!

  John A. Slagel
  April 2, 1997
