RFR: 7132679: (dc) DatagramChannel.send fails with ECONNREFUSED when not connected (Mac OSX)

Alan Bateman Alan.Bateman at oracle.com
Sun Jan 29 13:26:45 PST 2012


On 29/01/2012 20:38, Michael McMahon wrote:
> Can I get the following webrev (contributed by Alan B) reviewed please?
> I have reviewed it already.
>
> http://cr.openjdk.java.net/~michaelm/7132679/webrev.1/
Just as background to this one. Normally a UDP socket must connected in 
order to receive ICMP errors but on Mac they appear to be returned on 
unconnected sockets too. The patch simply ignores them when the socket 
is not connected.

-Alan


More information about the macosx-port-dev mailing list