IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2011, 9:59:48 AM (15 years ago)
Author:
eugene
Message:

adding port options to pantasks server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110906/Ohana/src/opihi/lib.shell/multicommand.c

    r27435 r32569  
    1313void multicommand_InitServer () {
    1414
    15   char hostname[256], PASSWORD[256];
     15  char hostname[256], PASSWORD[256], portinfo[256];
    1616
    1717  if (server != 0) {
     
    2727  }
    2828
     29  /* is a port range defined? otherwise use the default */
     30  memset (portinfo, 0, 256);
     31  VarConfig ("PANTASKS_SERVER_PORT", "%s", portinfo);
     32
    2933  /* attempt to connect to the server */
    30   server = GetClientSocket (hostname);
     34  server = GetClientSocket (hostname, portinfo);
    3135
    3236  /* here we can perform the security handshaking */
Note: See TracChangeset for help on using the changeset viewer.