示例#1
0
 public void send(string str)
 {
     if (udp != null)
     {
         //udp.SendData(str);
         udp.SendData(str, ip, sendPort);
     }
 }
示例#2
0
 public void SendUDPData(Packet _packet)
 {
     _packet.WriteLength();
     udp.SendData(_packet);
 }