publish Service
suspend fun publishService(type: String, name: String, timeoutInMs: Long = 10000, configure: NetServiceConfig.() -> Unit = {}): Nothing
Create a new DNS-SD to publish on the network. The service will stay published until the calling coroutine scope is cancelled.
Return
the platform instance of the service to register or unregister
Parameters
type
the service type (e.g. _example._tcp)
name
the name of the service to publish