Open GoogleCodeExporter opened 8 years ago
What do you mean by "libtorrent stalls all torrent activity"? does libtorrent
freeze somehow?
I wonder if you expect your OS to work in a way that it typically doesn't.
Binding a socket to a specific interface, doesn't affect the routing of
outbound packets from that socket. The first stop in routing is the local
routing table . Keep in mind that an interface isn't necessarily
point-to-point, which means there's no one given default route per interface.
As you can see in your example, the wlan0 interface doesn't have a gateway.
What operating systems do is that for any packet destined to any address
outside of the IP ranges in your routing table, they are sent to the default
route. i.e. in your case, any packet destined for any other address than:
192.168.0.0-192.168.255.255, the packet is going out on the default route. If
you want wlan0 to be used for "internet" traffic, you have to make it the
default route.
as far as I know, all operating systems work this way. I've heard rumors that
there are patches floating around for BSD that allows multiple routing tables
that would be able to do what I think you want to do.
Original comment by arvid.no...@gmail.com
on 21 Sep 2011 at 7:16
Original issue reported on code.google.com by
dch...@gmail.com
on 21 Sep 2011 at 4:01