I am integrating avahi-client in a Linux application to publish a TCP-based 
service on two separate local networks, each on their own interface.  Since the 
service uses the ephemeral TCP port range, the listening port on network #1 and 
network #2 will almost always be different, so I want to add the service on 
each network/interface individually as to publish the right port number.  It 
appears avahi_entry_group_add_service() can take an interface index argument 
for this purpose; how can I look up the index for a given interface/network on 
my system?



Thanks,

Peter Shilliday

_______________________________________________
avahi mailing list
avahi@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to