Hi,

Using BIO apis is there a way to specify the local ip address on which an
application can bind to.
In my board, i have 2 ip addresses on the interface eth0

10.x.1.3 - primary ip  (board ip)
10.x.10.21 - secondary ip (virtual ip given by strongswan server as part of
ikev2 negotiations)

I want to bind my application to secondary ip.
Is there a way to accomplish it, because whenever I call  BIO_do_connect
function it is always binding to primary ip.

Any help in this regard is appreciated.

Regards,
Sriram.

Reply via email to