roccocorsi

Results 6 comments of roccocorsi

I agree that if you don't have special routing with binding source ip address it won't work all that well in ipv4 (unless traffic is via directly connected LAN). Won't...

Just to clarify, the example you provide with StreamSocket class is working for you, but you want to do the same with HTTPClientSession?

For StreamSocket did you try something like this? std::string interface("eth1"); Poco::Net::StreamSocket interfaceSocket; interfaceSocket.init(AF_INET); interfaceSocket.impl()->setRawOption(SOL_SOCKET, SO_BINDTODEVICE, interface.c_str(), interface.length()+1);

Working on a fix based on the previous post, for HTTPClientSession.

Suggested solution for StreamSocket probably doesn't work, from what I am seeing. Will continue later this week.