Code example for DatagramSocket

Methods: isClosed, receive, setSoTimeout