4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info

Alan Bateman Alan.Bateman at oracle.com
Thu Jun 17 11:23:43 PDT 2010


If a DatagramChannel's socket adapter is used to receive a datagram then 
it doesn't set the DatagramPacket's socket address (IP address/port).  
 From the bugID you can tell that this is a long standing bug. The 
changes to fix are very simple and I've put the webrev here:
    http://cr.openjdk.java.net/~alanb/4981129/webrev/

Thanks,
Alan.


More information about the nio-dev mailing list