http://www.bitscn.com/java/networkprogram/200605/21377.html http://www.360doc.com/showWeb/0/2/171618.aspx