[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] choosing source ip on multihomed computer
From:       Bjorn Reese <breese () mail1 ! stofanet ! dk>
Date:       2014-09-30 13:58:37
Message-ID: 542AB70D.6060807 () mail1 ! stofanet ! dk
[Download RAW message or body]

On 09/30/2014 03:04 PM, David Frank wrote:

> I'm wondering how to make boost::asio::connect(<socket>, ...)
> connect from the source interface/ip address I choose on a multihomed
> computer.

Call bind() before connect().

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic