Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2000 13:52:50 -0500
From:      Gerd Knops <gerti@bitart.com>
To:        freebsd-questions@freebsd.org
Subject:   Can a tcp client use bind to force which interface is to be used?
Message-ID:  <20000814185251.11423.qmail@camelot.bitart.com>

next in thread | raw e-mail | index | archive | help
Hi everyone,

Looking through Stevens this questions doesn't seem to be answered:

If I use bind() for an outbound socket connection to set the source  
IP-address, does this mean that the interface associated with that  
IP-address is used (as opposed to the interface dictated by the routing  
table for the given target IP)?

Thanks

Gerd


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000814185251.11423.qmail>