On Wed, 20 Jan 2021 14:49:05 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
> My understanding is that read will read a full datagram (or nothing) and > write will write a full datagram (or nothing). Indeed a datagram is the > smallest unit that can be read or written on a UDP channel. Two calls to > write() will produce two datagrams. Two calls to read() will attempt to read > two datagrams. ... but we don't have a datagram channel here: it's a regular socket channel ... sorry for the confusion. Yes - objections accepted... ------------- PR: https://git.openjdk.java.net/jdk/pull/2162