home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / PPL4C11.ZIP / FILEXFER.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-16  |  1012 b   |  30 lines

  1. /*
  2. **        --- FILEXFER.H ---
  3. **
  4. **  Configuration parameters for FILEXFER.C
  5. **
  6. **  1) Set AT_COMMAND_SET to 1 if you are using a HAYES AT command set
  7. **     compatible modem, else set to 0.
  8. **  2) Set RTS_CTS_CONTROL to 1 if talking to a modem that requires flow
  9. **     control.
  10. **  3) If you are using a null modem cable for a direct PC to PC link, don't
  11. **     set RTS_CTS_CONTROL to 1 unless you are absolutely sure that RTS and
  12. **     CTS are switched in the null modem cable.
  13. **  4) Remember that AT_COMMAND_SET and RTS_CTS_CONTROL apply to BOTH channels.
  14. **  5) Limit baud rates to 19,200 if you are using two ports simultaneously.
  15. */
  16.  
  17. /*** configuration data ***/
  18.  
  19. #define AT_COMMAND_SET  0
  20. #define RTS_CTS_CONTROL 0
  21. #define NBR_OF_CHANNELS 4
  22. #define FIRST_PORT   COM1
  23. #define SECOND_PORT  COM2
  24. #define THIRD_PORT   COM3
  25. #define FOURTH_PORT  COM4
  26. #define FIRST_BAUD   Baud19200
  27. #define SECOND_BAUD  Baud19200
  28. #define THIRD_BAUD   Baud19200
  29. #define FOURTH_BAUD  Baud19200
  30.