home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Modemtools / CTB Tools / Goodies / TCPack Scripting Interface < prev   
Encoding:
Text File  |  1992-08-14  |  2.4 KB  |  66 lines  |  [TEXT/ttxt]

  1.  
  2. TCPack Scripting Interface
  3. -------------------------
  4.  
  5. For programmers eyes only…
  6.  
  7. Following is the syntax of the Scripting Interface.
  8. Please, refer to the General Help for the meaning of each parameter.
  9. You can also test your Scripts with the Sample application from Apple.
  10.  
  11.  
  12.     IPAddress                                <host name> | <numeric, max = 255.255.255.255>
  13.     LocalPort                                <numeric, max = 65535>
  14.     RemotePort                            <numeric, max = 65535>
  15.     TelnetProtocol            <true | false>
  16.     DropTelnet                            <true | false>
  17.  
  18.     Precedence                   <numeric 0…7>
  19.     LowDelay                     <true | false>
  20.     HighThroughput               <true | false>
  21.     HighReliability           <true | false>
  22.     TimeToLive                   <numeric, max = 255>
  23.     DontFragment              <true | false>
  24.     Security                     <true | false>
  25.     IPOptionsValid            <true | false>
  26.     IPOptions                    <hexa, max = FFFFFFFF>[.<hexa>][.<hexa>]…
  27.  
  28.     Terminal                     <terminal name>
  29.     AskEcho                         <true | false>
  30.     AskBinary                    <true | false>
  31.     AcceptBinary              <true | false>
  32.     TelnetStripNewLine     <true | false>
  33.  
  34.     DisplayMenu                  <true | false>
  35.     DisplayAlerts             <true | false>    (since version 1.5)
  36.     FTPServer                    <true | false>   (ignored in version 2.0)
  37.     AddNewLine                   <true | false> (ignored in version 2.0)
  38.     SkipNewLine                  <true | false> (ignored in version 2.0)
  39.     KeyDownEvents             <true | false>
  40.     FTPApplication            <application name> (ignored in version 2.0)
  41.     FTPCreator                   <4 chars string>       (ignored in version 2.0)
  42.     FTPDocument                  <4 chars string>     (ignored in version 2.0)
  43.  
  44.  
  45. - To be compatible with MacX, “IPAddress”, “LocalPort” and “RemotePort” can also be
  46.   written “RemoteAddress”, “LocalTCPPort” and “RemoteTCPPort”.
  47.   Moreover, CMGetConfig() returns the local IPAddress under “LocalAddress” but this 
  48.   command is ignored by CMSetConfig().
  49.  
  50. - If you specify a Host Name instead of an IPAddress, the DNR tries to find the
  51.   corresponding address.
  52.  
  53. - The IPOptions can contain up to 10 longs if Security is false, 9 longs otherwise.
  54.  
  55. - True and false may also be written 1 or 0.
  56.  
  57. - Names and strings can be written between quotes (ex: “my host”).
  58.  
  59. - Scripts are also available in French and Spanish. If you create a new ‘STR#’ 
  60.   resource to add another language, its ID must be 31100 + Language Code (as 
  61.   defined in <ScriptMgr.h>).
  62.  
  63. - If you use the Sample application (given by Apple) to test your Scripting Interface,
  64.   don’t forget to insert “Spanish” after “Swedish” in the Languages pop-up menu.
  65.  
  66.