Code example for DatagramSocket

Methods: close, disconnect, isConnected