Code example for DatagramSocket

Methods: close, isClosed