[alt.hackers] UDP/IP in 3K

nelson@SUN.SOE.CLARKSON.EDU (Russ Nelson) (06/02/90)

Well, actually 3184 bytes.  Some of you may know about the packet drivers
I've been working on.  They do two things: hide the difference between
ethernet cards behind a software interface, and allow multiple protocols
to access the same ethernet card.  Well, I've written a little TSR that
implements ARP, IP, and UDP in slightly more than 3K bytes.  It gloms
onto the packet driver interface, and gets out of the way when a real
TCP/IP package tries to use the packet driver.

It implements a UDP protocol that accepts a message directed to a given
user at a given terminal.  Of course, this PC implementation ignores
both of the latter parameters.  The message is displayed on the 25th line
of the screen for five seconds, or until you press a key.  I wrote it
because I wanted to be informed of mail received on our Unix host.

Anyway, the official port number hasn't been assigned yet, and the program
needs a little polishing, but I couldn't resist bragging about my latest
hack.  I *will* publish this soonest.
-- 
--russ (nelson@clutx [.bitnet | .clarkson.edu])  Russ.Nelson@$315.268.6667
Violence never solves problems, it just changes them into more subtle problems