I'm building a UDP communication system with Java NIO, and browsing through the javadoc for the APIs I noticed that channels have a write primitive and a send primitive. I have prototyped and tried both, and nothing seems to change in that they both deliver the buffer at the other hand. Similarly, the books I looked at do not seem to help clearing this doubt, so I thought to ask: what is the difference between channel.write and channel.send?
Thanks in advance.