You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In function mtp_init_client, there is a mtp_dest_host parameter. The doc is multicast ip address where the sensor should send data.
As I can see from the code, it's rather the local ip address of the interface which is used to join the mutlicast group which is defined in the config parameter. If it's empty, the OS will automatically all (?) interfaces.
The text was updated successfully, but these errors were encountered:
After double-checking the code, it looks like mtp_dest_host specifies the address of the interface used to join the multicast group.
However, any interface will be used[1] if mtp_dest_host is empty (which as you've probably seen in the code sets the address to INADDR_ANY in an ip_mreq structure passed to setsockopt to join the multicast group.)
In function mtp_init_client, there is a
mtp_dest_host
parameter. The doc ismulticast ip address where the sensor should send data
.As I can see from the code, it's rather the local ip address of the interface which is used to join the mutlicast group which is defined in the config parameter. If it's empty, the OS will automatically all (?) interfaces.
The text was updated successfully, but these errors were encountered: