I am trying to read D2C messages in android application. I have successfully implemented it using signalR services. But now i want to remove signalR services and read messages like device explorer or cli.
Is there a way to use sockets or any APIs to read D2C messages ?
Your IoT Hub exposes an Event Hub endpoint. You can read messages from the built-in Event Hub endpoint with an Event Hub client. Here is an example using Java