home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip.ibmpc
- Path: sparky!uunet!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!think.com!linus!linus.mitre.org!mwvm.mitre.org!M11156
- From: henri@mitre.org (Henri Bulterman)
- Subject: Re: wattcp building troubles...
- Message-ID: <1682BBBB7.M11156@mwvm.mitre.org>
- Sender: news@linus.mitre.org (News Service)
- Nntp-Posting-Host: mwvm.mitre.org
- Organization: The MITRE Corporation, McLean VA 22102
- Date: Tue, 21 Jul 1992 17:20:55 GMT
- Lines: 27
-
- > [Various netters have told tales of trouble in converting WATTCP from
- > Borland C to other C compilers...]
-
- Just last week I went through the exercise of porting some WATTCP source
- files to Microsoft C7. (There is a complete MSC port in one of the
- directories on the Waterloo machine, but it is slightly out of date.)
-
- There's one section in WATTCP.H that you have to be sure to change.
- This code occurs in the definition of the "Internet Header" structure:
-
- Borland: unsigned hdrlen :4;
- unsigned ver :4;
- byte tos;
-
- MSC: unsigned hdrlen :4, /* Note commas */
- ver :4,
- tos :8;
-
- Until I made this change, Erick's excellent SMTPSERV program was
- dead in the water. I figured this out by comparing the new WATTCP.H
- to the older version in the UofArizona MSC port.
-
- Hope this information proves useful to somebody!
-
- Henri Bulterman
- The MITRE Corporation
- henri@mitre.org
-