Code example for DatagramChannel

Methods: closeisOpen