[comp.protocols.tcp-ip.ibmpc] Hardware Driver Spec

nelson@CLUTX.CLARKSON.EDU (Russell Nelson) (10/18/87)

The cover letter to the Hardware Driver Spec posted by jbvb of FTP Software
says that the specification is limited to a single packet driver.  However,
as I read through the document, I don't see anything that limits you to only
one packet driver.  It seems to me that the cover letter is wrong.

I also have a question about send_pkt:

	int send_pkt(buffer, length)			AH = 4
		char far *buffer;			DS:SI
		unsigned length;			CX

error return:
	carry flag set
	error code		DH
	possible errors:
		BAD_HANDLE

"Transmits length bytes	of  data,  starting  at  buffer. The
application  must supply the entire packet, including  local
network headers. The type  field  must	be  filled in by the
application as well, as  no  handle  has  to be specified in
order to send a packet."

Question: If no handle has to be specified, why is "BAD_HANDLE"
one of the possible errors?  Also, where is the "type field" that
I am supposed to be filling in?