home *** CD-ROM | disk | FTP | other *** search
/ Software Recommendations - 1998 Season 1 / DNBCD4.iso / share / DOS / ipxcopy / SRC.ZIP / SRC / README.SRC < prev    next >
Encoding:
Text File  |  1996-09-19  |  2.4 KB  |  81 lines

  1.  
  2. this directory contains the source
  3. files of IPXCOPY.EXE. 
  4. IPXCOPY.EXE can be made by calling
  5.  
  6.    wmake
  7.  
  8. The source has been created with WATCOM 10.6
  9. C compiler. Most parts of the program should
  10. be compatible with other compilers, but IPX.C
  11. depends on the WATCOM extenstions to the
  12. pragma keyword (inline assembly statements).
  13.  
  14. IPX.C must be compiled in the LARGE 16 BIT model.
  15. The LARGE model, because assembler statements
  16. assume LARGE pointers. The 16 Bit model,
  17. because  DOS4GW does NOT support DPMI far calls
  18. (ok, we probably could use PMODEW).
  19.  
  20. File CBREAK.C
  21. Ctrl-C and Ctrl-Break are catched to prevent
  22. DOS from leaving open socket numbers. 
  23.  
  24. File CRC32.C, CRC16.C
  25. Useful function for calculating CRC-32/16.
  26. Look into the source for description
  27. and copyright infos.
  28.  
  29. File CMDLINE.C
  30. Just for interpreting commandline args.
  31.  
  32. File MAIN.C
  33. Calls to TPTX.C or TPRX.C, depending on
  34. commandline args.
  35.  
  36. File TPTX.C and TPRX.C
  37. Transmitter and Receiver. Both are implemented as 
  38. state machines. The state machine is NOT created
  39. with case statements. I used indirect function
  40. calls, which should be a little bit faster.
  41.  
  42. The CRDIR.C package
  43. Portable file access subroutines.
  44.  
  45. The following table gives some ideas of the
  46. transfer algorithm. Messages (IPX-packets) are
  47. written in normal text.
  48.  
  49.  
  50.    Transmitter                Receiver
  51.    -----------------------------------------------------------------
  52.    Request (filesize)
  53.                               [CHECK EXISTENCE]
  54.                               Ack Request (overwrite?)
  55.    - - - wait user - - - - - - - - - - wait user - - - - - - - - - -
  56.    File Skip                  File Skip
  57.  
  58.    [OPEN FILE (READ)]
  59.    File Start
  60.                               [OPEN FILE (WRITE)]
  61.                               Ack File Start
  62.    - - - - - - - - - - - Begin Loop - - - - - - - - - - - - - - - - -
  63.    [READ DATA]
  64.    [CRC32]
  65.       Block Start
  66.                                  Ack Block Start
  67.       Data
  68.       Block End (crc)
  69.                                  Missing Data/Ack Block End
  70.                               [CRC32]
  71.                               [WRITE DATA]
  72.    - - - - - - - - - - - End Loop - - - - - - - - - - - - - - - - - -
  73.    [CLOSE FILE]
  74.    File End
  75.                               [CLOSE FILE]
  76.                               Ack File End
  77.  
  78.  
  79. Oliver Kraus
  80. E-Mail: kraus@lrs.e-technik.uni-erlangen.de
  81.