mqtt_udp
mqtt_udp copied to clipboard
Network interface selection
On systems with multiple network interfaces publish packets going through random interface and there is no option to select, which interface to use. Tested in pytthon3 library.
255.255.255.255 as destination address should be changed to particular interface broadcast address.
- [X] Pyhon implementation
Do you see it as a function to set interface to bind to?
Yes, dedicated function would be perfect. Also additional optional parameter for send_* functions fits well.
Did it, please see set_bind_address()
and set_broadcast_address()
in https://mqtt-udp.readthedocs.io/en/latest/#module-mqttudp-engine