home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PROTOCOL / PROT100.ZIP / PROTD.SLT < prev    next >
Text File  |  1993-08-16  |  486b  |  17 lines

  1. str       Cmd [128];
  2. str       BaudRt [6];              //    baud rate
  3. str       PortRt  [3];              //    communications port
  4. main()
  5. {
  6.   itos(get_baud(), BaudRt);          // get comm. parameters  (baud)
  7.   itos(get_port(), PortRt);
  8.   Cmd = " /R /P";                     //   baud
  9.   strcat(Cmd, PortRt );
  10.   strcat(Cmd, "  /B"   );          //   settings
  11.   strcat(Cmd, BaudRt  );
  12.   strcat(Cmd, " "     );
  13.   int result;
  14.   result = run("prot.bat", Cmd);
  15.   return;
  16. }
  17.