unsigned short ph_c_register_service_with_port

(MPeerHood* _aPeerHood,
  const char* _aName,
  const char* _aAttributes,
  const char* _aPort)

Registers a service so that other PeerHood devices can find it.

Documentation

Registers a service so that other PeerHood devices can find and use it. This method contacts the PeerHood daemon that in turns starts to advert the service through its currently running plugins.

Parameters:
_aPeerHood - pointer to MPeerHood instance to use.
_aName - The name of the service.
_aAttributes - Service's attributes in one string.
_aPort - Service's port.
Returns:
port number if the service could be registered, otherwise 0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.