On Mon, 2011-03-28 at 10:53 +0200, Emil Ljungdahl wrote: > > If I bind to a port and IP-address of interface B and receives (for > example) > a HTTP connection request, the reply might be sent on interface A, > since > ip_route only selects interface depending on destination address. I'm > not > the guy to tell what is wrong and what is right regarding the > IP-stack, but > shouldn't a netconn/socket/pcb that is bound to a local address, that > is > "owned" by a local netif, only use that netif for both rx and tx?
No, the interface used is determined by the route table, unless you've used the SO_BINDTODEVICE socket option (which lwIP doesn't support). Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
