← Back to team overview

mosquitto-users team mailing list archive

Re: pub / sub binding to specific address or interface

 

Hi Stefano,

This isn't supported currently, but consider it on the list for version 1.2.

Cheers,

Roger


On Fri, May 31, 2013 at 9:34 AM, Stefano Costa
<stefano.costa@xxxxxxxxxxx> wrote:
> Hello,
> the Mosquitto broker is able to bind to any specific address (and interface
> as a consequence) by configuration file.
>
> I was asking myself if the same applies to the pub and sub functions of the
> library: I can't see any such option (parameter), any workaround for this?
>
> Example: embedded device with both Wifi and GPRS (ppp) up at the same time
> and I need to pub / sub on both interfaces depending on frequency /
> importance of events.
>
> Thanks S
>
>
> --
>   Stefano Costa, R&D Manager
>   M +39 335 6565749
>   Skype stefanocosta.bluewind
>   Twitter @stefanobluewind
>   http://www.bluewind.it
>
> --
> Mailing list: https://launchpad.net/~mosquitto-users
> Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References