IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 19, 2007, 4:37:43 PM (19 years ago)
Author:
eugene
Message:

optionally use named sockets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/src/CheckPipe.c

    r13479 r13899  
    77
    88// we can supply a port here, with only small changes
    9 void InitPipe () {
    10   InitSocket = KapaServerInit (&Address);
     9void InitPipe (char *namedSocket) {
     10
     11  if (namedSocket == NULL) {
     12    InitSocket = KapaServerInit (&Address);
     13  } else {
     14    sock = KapaWaitNamedSocket (namedSocket);
     15  }
    1116  return;
    1217}
Note: See TracChangeset for help on using the changeset viewer.