Code example for DatagramSocket

Methods: setBroadcast, setSoTimeout