From owner-freebsd-questions Mon Aug 14 11:53: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from camelot.bitart.com (BITart-45.BITart.com [206.103.221.45]) by hub.freebsd.org (Postfix) with SMTP id BBF9837BB12 for ; Mon, 14 Aug 2000 11:52:57 -0700 (PDT) (envelope-from gerti@bitart.com) Received: (qmail 11425 invoked by uid 101); 14 Aug 2000 18:52:51 -0000 Message-ID: <20000814185251.11423.qmail@camelot.bitart.com> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.2p1) Received: by NeXT.Mailer (1.148) From: Gerd Knops Date: Mon, 14 Aug 2000 13:52:50 -0500 To: freebsd-questions@freebsd.org Subject: Can a tcp client use bind to force which interface is to be used? Reply-To: gerti-freebsdq@BITart.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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