Code example for DatagramSocket

Methods: connect, disconnect, getInetAddress, getPort