Socket編程2-UDP協議

服務器端udp private Socket udpServer; 1.創建socket  udpServer= new Socket(AddressFamily.InterNetwork,SocketType.Dgram,ProtocolType.Udp); 2.綁定ip和端口號 udpServer.Bind(new IPEndPoint(IPAddress.Parse("10,28,120,1
相關文章
相關標籤/搜索