public void SendUdp(byte[] data) { if (_udpflag) { _udp.Send(data); } }
public void UdpSend(byte[] data) { if (_udp != null) { _udp.Send(data); } }