Code example for DatagramSocket

Methods: close, connect, getLocalPort, receive, send, setSoTimeout, sleep