From owner-freebsd-net Thu Sep 27 12: 8:18 2001 Delivered-To: freebsd-net@freebsd.org Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by hub.freebsd.org (Postfix) with ESMTP id BB26837B408 for ; Thu, 27 Sep 2001 12:08:15 -0700 (PDT) Received: from milk.yahoo.com (milk.yahoo.com [216.145.52.137]) by mrout1.yahoo.com (8.11.6/8.11.6/y.out) with ESMTP id f8RJ7of10839 for ; Thu, 27 Sep 2001 12:07:50 -0700 (PDT) Received: (from root@localhost) by milk.yahoo.com (8.11.0/8.11.0) id f8RJ7or27801 for net@Freebsd.org; Thu, 27 Sep 2001 12:07:50 -0700 (PDT) (envelope-from jayanth) Date: Thu, 27 Sep 2001 12:07:50 -0700 From: jayanth To: net@Freebsd.org Subject: simple udp question Message-ID: <20010927120750.C26671@yahoo-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org one of the developers here noticed that if a process does the following three steps: binds a udp socket to a specific IP address connects the udp socket calls connect with a NULL parameter, to disconnect the socket. The socket now loses its originally bound IP address because udp_disconnect forces the local address of the socket to be INADDR_ANY. Can we change this behaviour to retain the originally bound IP address ? thanks, jayanth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message