home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / MSDOS / WATTCP / WNWATTCP.ZIP / README.WIN < prev    next >
Encoding:
Text File  |  1992-03-06  |  1.9 KB  |  44 lines

  1.  
  2.  
  3. Our Windows port is based on Erick's 1/4/92 release.  We don't intend
  4. to support this stuff since we're not using it any more.  Report bug
  5. fixes and such to Erick.
  6.  
  7. Costas Papas.
  8.  
  9.  
  10. Major Changes for the Windows port
  11. ----------------------------------
  12. 1. Outs() doesn't work in windows.  So now all functions return
  13. an error code rather than print a message.  There is a new header,
  14. errors.h, which contains the symbolic name for each code and an
  15. array of corresponding error messages. For details read the header.
  16.  
  17. 2. The makefiles now generate both the Windows and DOS libraries in
  18. one shot.  The source changes for Windows are all #ifdef'ed so by
  19. adding -DWINDOWS to the compiler command line the same source can
  20. generate either version.  Our makefiles are given in the diff's as
  21. makefile.new since ours do the same thing as the distribution versions
  22. but in a different way.  Use which ever you like best.  For details
  23. see the makefile.
  24.  
  25. 3. There are some new files: timeout.c is just timeout.asm recoded
  26. in C instead of assembler.  In SRC, wininit.c, dpmi.c and dpmi.h are
  27. new.
  28.  
  29. 4. We've compiled finger, ping and rexec using both Borland C++ 2.0
  30. and 3.0, in small, medium and large models.  They have to have a stack
  31. size of 8k, since some of them have 4k+ tcp_Socket structs as automatics.
  32. For 3.0, the compiler will supply a printf() substitute when in Windows
  33. so the source will run almost unchanged.  Finger doesn't work in medium
  34. or small with the Borland 3.0.  Apparently there's some bug with the
  35. Borland printf().  When we use our own printf() substitute it works fine
  36. in all three model.  For rexec, our SCO Unix box gives back a 'bad password'
  37. error.  Erick's DOS version does the same, so it's not the Windows port
  38. that's causing it.
  39.  
  40. 5. The libraries and executables we're sending contain debugging info,
  41. so they're quite big.  They can be rebuilt without it if you want to
  42. save space.
  43.  
  44.