Datagram protocols are great for peer to peer as well. That way a server just makes introductions and the clients talk directly to each other, allowing it to serve a huge base. Great for chat. That is how BitTorrent efficiently downloads massive files with little server overhead.
Ir nio, you can use DatagramChannels.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | ![]() | ||
| You are visitor number 8,232. | |||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/datagram.html | J:\mindprod\jgloss\datagram.html | ||