libs/stream_message/src/service.cxx
// ===========================================================================
// Construct a ServicePort object based on a service name.
// Queries the name server to resolve the service.
//
Construct a ServicePort object based on a service name.
Queries the name server to resolve the service.
Construct a ServicePort object based on a service name . Queries the name server to resolve the service .
ServicePort::ServicePort(const char *name)
  : isGood(false), whyBad(NULL)
{
    ServiceName nm(name);
    isGood = nm.getPortAndAddr(port, IPAddr, &whyBad);
}
ServicePort :: ServicePort ( const char * name ) : isGood ( false ) , whyBad ( NULL ) { ServiceName nm ( name ) ; isGood = nm . getPortAndAddr ( port , IPAddr , & whyBad ) ; }
Construct a ServicePort object based on a service name.
Construct a ServicePort object based on a service name .