SDAnnounceProvider
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
long SD_AnnounceProvider(serviceProviderRef * provider)
void SD_AnnounceProvider(providedServiceRef * providedService)
Function
Announces over the network that a service provider is running. You can pass either a provider endpoint, which will announce it generally (to a service registry or to all known consumers or by broadcast, depending on the binding protocol). Or you can pass a specific endpoint combination, which will announce it only to the given consumer endpoint. Note that the provider will be automatically announced if you callProvideServiceon the endpoint.
Parameters
provider provider endpoint.
providedService
Service provided by an endpoint for a consumer.
Return Values
0: Success
1: Provider endpoint is not simulated
< 0: Other error
SD_AnnounceProvider(newProvider);
Related APIs
SD_UnnnounceProvider