Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 12:07:50 -0700
From:      jayanth <jayanth@yahoo-inc.com>
To:        net@Freebsd.org
Subject:   simple udp question
Message-ID:  <20010927120750.C26671@yahoo-inc.com>

next in thread | raw e-mail | index | archive | help
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




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