Code example for DatagramSocket

Methods: close, receive, send