From owner-freebsd-questions Thu Jun 20 06:28:26 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA12072 for questions-outgoing; Thu, 20 Jun 1996 06:28:26 -0700 (PDT) Received: from unix.stylo.it (unix.stylo.it [193.76.98.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA12061 for ; Thu, 20 Jun 1996 06:28:21 -0700 (PDT) Received: from servernt.stylo.it (servernt.stylo.it [193.76.98.4]) by unix.stylo.it (8.7.5/8.6.9) with SMTP id PAA10417 for ; Thu, 20 Jun 1996 15:27:40 +0200 (MET DST) Received: by servernt.stylo.it with Microsoft Exchange (IMC 4.12.736) id <01BB5EBC.A61AD6E0@servernt.stylo.it>; Thu, 20 Jun 1996 15:25:01 +0200 Message-ID: From: Angelo Turetta To: "'freebsd-questions'" Subject: Can I bind a socket to a given source address ? Date: Thu, 20 Jun 1996 15:27:30 +0200 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.12.736 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BB5EBC.A61C5D80" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. Contact your mail administrator for information about upgrading your reader to a version that supports MIME. ------ =_NextPart_000_01BB5EBC.A61C5D80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm learning (DoItYourself :-) network programming, and I'm wondering whether it is possible to establish a TCP connection with another host (with connect()), using a particular source address chose among the various aliases or interfaces present on the local host. Thanks Angelo. ----------------------------------------------------------------- Angelo Turetta mailto:aturetta@stylo.it Stylo Multimedia - Bologna - Italy http://www.stylo.it/ ------ =_NextPart_000_01BB5EBC.A61C5D80--