Hello,
On Fri, 20 Aug 2004, Mike Machado wrote:
> I was able to change my voip application to just BIND to the VIP, but
> due to the nature of this application, it needs to be able to
> communicate on both the VIP and the RIP, I just want reply packets to
> use the same source IP and the inbound packets.
>
> Anyone come across this problem for UDP applications, along with a
> possible solution?
What about using IP_PKTINFO in sendmsg, "srcip" is your server
IP used in each request packet as daddr:
example:
http://www.ussg.iu.edu/hypermail/linux/kernel/0406.1/0771.html
thread:
http://www.ussg.iu.edu/hypermail/linux/kernel/0406.1/index.html#0247
Regards
--
Julian Anastasov <ja@xxxxxx>
|