Well,let me do some search for you.
You may know about this website, Almost got every example of java.Here you go,
http://www.java2s.com/Code/JavaAPI/java.net/DatagramSocket.htm
some other links;
http://www.java-samples.com/showtutorial.php?tutorialid=402
http://www.codase.com/search/call?owner=java.net.DatagramSocket
http://www.codeguru.com/java/tij/tij0166.shtml
http://www.javadocexamples.com/java/net/DatagramSocket/getLocalPort().html
http://www.roseindia.net/java/network/DatagramSocketExample.shtml
http://java.sun.com/docs/books/tutorial/networking/datagrams/clientServer.html
http://www.cs.nccu.edu.tw/~linw/javadoc/tutorial/networking/datagrams/clientServer.html
http://articles.techrepublic.com.com/5100-10878_11-5099670.html
http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html