< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] determineSourceInterface on Linux?


Hi,

When creating the contents of an SDP I need to embed the local IP address on which I will be listening for incoming RTP data. What is the best way to determine my local IP address based on the destination? For windows I noticed there is GenericIPAddress determineSourceInterface(const GenericIPAddress& destination); but I could not find a similar method for Linux.

Kind regards,
Richard Stellingwerff.