home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / MSDOS / WATTCP / COMD.ZIP / COMD.DOC < prev    next >
Encoding:
Text File  |  1991-07-19  |  4.2 KB  |  102 lines

  1. COMD is a program which lets you share serial devices such as modems
  2. over a network.  Eventually COMD may include features specify to
  3. devices like dialing HAYESMODEMSs and passwords.  Methods for
  4. configuring such features have been listed, but are not implemented
  5. and will bring unpredictable results.
  6.  
  7. Possible uses for COMD include :
  8.   o  remote connection to serial printers - unlike pc's running LPD, COMD
  9.      allows the host to perform accounting and eliminates the need for
  10.      a local hard disk on the pc
  11.  
  12.   o  can be easily modified to function as a dial out modem pool
  13.  
  14.   o  could be modified to works as a dial out fax modem pool
  15.  
  16.   o  can be used to let a remote host control lab equipment or
  17.      collect data from remote sources
  18.  
  19. To use COMD you will need a valid WATTCP.CFG file.  Documentation on
  20. the general WATTCP programs provides that information and you are
  21. referred there for more details.  Once PING and FINGER work, you may
  22. proceed on to the next paragraph.
  23.  
  24. For each serial device you must add several lines to your WATTCP.CFG
  25. file.  You must specify the following:
  26.  
  27. COM.PORT = 1 | 2 | 3 | 4
  28.     You will receive an error message on bootup if one of the specified
  29.     ports does not exist.
  30. COM.PARITY = EVEN | ODD | NONE | MARK | SPACE
  31. COM.BITS = 5 | 6 | 7 | 8
  32. COM.STOP = 1 | 2
  33. COM.TCPPORT = some port number, 23 is TELNET
  34. COM.MODE = RS232 | TEST | HAYESMODEM
  35.         To test a new device, use the TEST mode which will let you
  36.         interactively 'talk' with the serial device.
  37.         The HAYESMODEM mode is not implemented yet.
  38. COM.HANDSHAKE = XON | MODEM
  39. COM.DELAY = xxx
  40.         xxx is minimum delay between transmissions in 10ths of a second.
  41.         It is used to collect a reasonable amount of data before sending it
  42.         over the network.  A value of 0 is very greedy, 2 is very reasonable
  43.         for terminal servers or modems, 10 is fine for laser printers.
  44.  
  45. For example, to configure COM1 and COM2 you may use:
  46. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  47. com.port=1              # simple modem
  48. com.mode=RS232          # vs. TEST (or HAYESMODEM)
  49. com.tcpport=23          # TELNET port
  50. com.handshake=XON       # vs. MODEM
  51. com.delay=2             # in 1/10s of second pick 0 - 2, 0 is costly
  52. com.baud=9600
  53. com.parity=none
  54. com.bits=8
  55. com.stop=1
  56.  
  57. com.port=2              # RS232 based printer
  58. com.mode=RS232
  59. com.tcpport=800         # user defined port
  60. com.handshake=XON
  61. com.delay=2             # in 1/10s of second pick 0 - 2, 0 is costly
  62. com.baud=9600
  63. com.parity=none
  64. com.bits=7
  65. com.stop=1
  66. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  67.  
  68. Up to four devices may be used similtaneously, but you should have a
  69. machine fast enough to handle those serial interrupts.
  70.  
  71. You can do load leveling, where two devices are assigned to the same
  72. tcp port.  That way, if one is busy, the other will be used.  All
  73. you have to do is specify the *same* com.tcpport number for both
  74. and the software manages the rest.
  75.  
  76. The com.delay value is the amount of time (in 100 millisecond quantities)
  77. during which COMD accepts characters from the RS232 port before it
  78. transmits the over the network.  This produces a slight delay, but
  79. it reduces packets dramatically.  For highly interactive sessions,
  80. 1 to 2 is reasonable.  For others, 5 to 10 gives a delay between
  81. a half second and a full second.
  82.  
  83. If you add new features to COMD, please send them back to me so others
  84. can benefit from your time and expertise.
  85.  
  86.  
  87.                      **** IMPORTANT NOTES ****
  88.  
  89. Many people have their Ethernet cards set to irq 3 (interrupt level 3).
  90. In fact, that's how the cards usually arrive from the factory.
  91. Unfortunately irq 3 is also used by COM2 and COM4, and gives rise to
  92. a conflict.  I didn't write the com libraries, I don't even have source
  93. for them, so I can't fix it.  You can solve the problem by moving the
  94. card to a different interrupt.
  95.  
  96. If you intend to use COMD, you should remember that the com port libraries
  97. (Litecomm) are copyrighted by Information Technology Ltd. and should be
  98. registerred with that company.  I have no affiliation with ITL, I just
  99. downloaded these files from simtel and found they suited the task very
  100. nicely.
  101.  
  102.