Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] .Net Windows sample running in different machine does not work

Hi Mahbub,

If you're using test.mosquitto.org you should just be able to send and
receive messages without any problems. I'm afraid that most likely
means there is a problem with your client somewhere - and I'm sorry
but I can't help on the .net code. I'd suggest asking on the Paho list
instead.

Regards,

Roger

On Mon, 19 Apr 2021 at 09:44, Mahbub Rahman <mrahman252003@xxxxxxxxx> wrote:
>
>
>
> I was testing a .net windows sample for MQTT found at https://www.hemelix.com/automation/structured-text-mqtt/. The sample works fine on the same machine (the same application is publisher and subscriber ) but if I try to run the same application from two different computers (one as publisher and another as subscriber) it does not work. The sample is using test.mosquitto.org as a broker. Are there any settings that I should use so the client running on a different computer can receive the data?
>
> Client ID is generated in the following way so that should be unique.
>
> clientId = Guid.NewGuid().ToString();
> client.Connect(clientId);
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top