home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip.ibmpc
- Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!sail.uwaterloo.ca!eengelke
- From: eengelke@sail.uwaterloo.ca (Erick Engelke)
- Subject: TSRs ...
- Message-ID: <Btyu2v.AG3@watserv1.uwaterloo.ca>
- Sender: news@watserv1.uwaterloo.ca
- Organization: University of Waterloo
- References: <Btx5J4.2tD@watserv1.uwaterloo.ca> <1992Sep2.130319.862@aspentec.com>
- Date: Wed, 2 Sep 1992 19:28:06 GMT
- Lines: 46
-
- tto@aspentec.com writes:
- >eengelke@steam.uwaterloo.ca (Erick Engelke) writes:
- >
- >> use a malloc(), a definate no-no in tsr development!
- >
- >Yes, many developers have no idea how to do things properly in the DOS
- >environment, let alone making programs suitable for a TSR. E.g., Sun's
- >PC/NFS uses malloc() and DEC's Pathwork TCP/IP (written by 3Com) traps
- >INT 2F (AX=1122) and promptly undoes itself whenever one issues an
- >INT 21 (AH=31) to terminate and stay resident!
- >
-
- HP and 3com co-developed that product and it seems to have Microsoft
- involved somehow. Since I've only dealt with the tech staff, we were
- all quite uncertain how many lawyers it takes to write a network stack.
-
- Anyways, it's a bit of a challenge to TSRize their programs. You must
- write a function with the same name as their function which intercepts
- the int 2f interceptor to prevent this from happenning. That one caught
- me by surprise too. But I didn't think it was widespread enough
- a system to comment on it, but it took me a day to figure out.
-
- >> [ftp's] internal API can be called practically any time.
- >> Compeditors systems which only provide the BSD-ish interface
- >> can rarely be called during DOS i/o, and sometimes have difficulty
- >> when called during interrupt calls.
- >
- >Another nice thing about FTP's PC/TCP package is that it allows an easy
- >access to the global file descriptors. With other packages one has
- >to do more work in order to share a descriptor among several applications.
- >(By the way, sharing file descriptors is one of the few things that can
- >be done more easily on DOS than on Unix.)
- >
-
- Yes, most of the others require you to change your PSP back to the
- originator's. That's easy enough when they provide source, but the
- one's that don't are a true headache because you have to reverse engineer
- or run through hoola hoops just to do shared access. I don't mind
- doing the work, but when it cuts into processor performance or carves
- out more memory, I start looking at new solutions.
-
- Erick
- --
- Erick Engelke Engineering Computing
- University of Waterloo
- Waterloo TCP Architect erick@development.watstar.uwaterloo.ca
-