for(int i=0;i<client.Length;i++)
{
subscribe(hostname,port,clientid);<pre>
public void subscribe()
client.MqttMsgPublishReceived+=client_MqttMsgPublishReceived <pre>}
public void client_MqttPublishReceived(object sender,MqttMsgPublishEventargs e)
//business logic
}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)