Boost logo

Boost Users :

Subject: Re: [Boost-users] choosing source ip on multihomed computer
From: Bjorn Reese (breese_at_[hidden])
Date: 2014-09-30 09:58:37


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net