Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_xyparam()</b> - set xmodem/ymodem parameters http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_xyparam() - set Xmodem/Ymodem parameters

   tp_xyparam([nBlockTime], [nCharTime], [nStartTime], [nAckTime])

   nBlockTime  Block timeout.
   nCharTime   Intercharacter timeout.
   nStartTime  Startup timeout.
   nAckTime    Acknowledgement timeout.

   Sets timeout parameters for Xmodem and Ymodem file transfers.

       nBlockTime is the time that a "receive" function will wait for
       the start of a data block after sending the ACK or NAK for the
       previous block.

       nCharTime is the time that a "receive" function will wait for
       each subsequent character of a block after receiving the first.

       nStartTime is the time that a "send" function will wait to begin
       transmitting a file.

       nAckTime is the time that a "send" function will wait for
       acknowledgement after sending a block.

   The default values are:

       nBlockTime   5.0
       nCharTime    1.0
       nStartTime  60.0
       nAckTime    30.0

   It may be necessary to increase nBlockTime and nCharTime when
   receiving over a very slow packet-switching network, or from a badly
   overloaded multitasking system.

   Example:

       // Set relaxed timing, for use with packet nets or slow
       // multitasking systems.  Note that the first, third, and
       // fourth parameters are defaulted.
       tp_xyparam(NIL, 5.0)

See Also: File Transfers

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson