Java NIO for Writing
Using Java NIO non-blocking IO for writing as well as reading is almost - but not quite - straightforward. Contents Background Implementation Two Selectors Close Summary Background One of the limitations pointed out in the Limitations section of the original post in this series was that we were still directly writing our output data to the socket rather than using non-blocking IO and continuations as we were doing when reading...