Java TCP發送與接收

IP地址?端口號?主機名? 什麼是Socket? 什麼是UDP? 什麼是TCP? UDP和TCP區別? 以上問題請自行百度,有標準解釋,此處不再贅述,直接上乾貨! 實例:   發送端:  public class TCPClient { public static void main(String[] args) throws IOException { //創建Socket對象 So
相關文章
相關標籤/搜索