In multi-homed UNIX box, for servers, we can bind a specific IP address (or all of them) and ports to the socket. In sample client code, I just see the client socket associated with the server's IP address and port. I would like this client to connect to a server using only the client's higher speed card's IP address. Does anyone have some IPv4 sample client code to do this showing both the server and client socket association in the client code? (I am dealing with straight IP addresses, so DNS is not part of this topic.) My understanding is that without this binding, the client will use "lan0" (100 Mbps) instead of "lan1" (1Gbps).