IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18084


Ignore:
Timestamp:
Jun 11, 2008, 3:33:32 PM (18 years ago)
Author:
eugene
Message:

extend connection time; add info to verbose output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/rconnect.c

    r16472 r18084  
    22
    33/* connection can take a while, allow up to 2 sec */
    4 # define CONNECT_TIMEOUT 500
     4# define CONNECT_TIMEOUT 5000
    55
    66/* connect to host, start the shell: ssh hostname pclient -> command hostname shell
     
    106106
    107107connect_error:
    108   if (VerboseMode()) gprint (GP_ERR, "error while connecting\n");
     108  if (VerboseMode()) gprint (GP_ERR, "error while connecting, status: %d, ncycles: %d\n", status, i);
    109109
    110110  /* avoid blocking on waitpid, test every 100 usec, up to 50 msec */
Note: See TracChangeset for help on using the changeset viewer.