Code example for DatagramSocket

Methods: closeisClosedisConnected