Normally, you cannot pass an interface name in place where an IP
address/hostname is expected. However, what you can do is to get
programmatically the IP address by the given interface name. Then,
instead of "client-ip" or as an alternative to "client-ip", one could
specify, let's say, "client-iface".
Use getifaddrs to get all the net interfaces. Find the one which you
need looking for ifa_name, and then use its ifa_addrs everywhere where
the local IP address is supposed to be used.
> --
> You received this message because you are subscribed to the Google Groups
> "UniMRCP" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/unimrcp/-/WiAa4seG4I8J.
> To post to this group, send email to
uni...@googlegroups.com.
> To unsubscribe from this group, send email to
>
unimrcp+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/unimrcp?hl=en.
--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org