private void reDate(byte[] buf, string ipInfo) { if (crdInter != null) { crdInter.revePortsData(buf, ipInfo); } }
/// <summary> /// 定义委托,输送详细的数据 /// </summary> /// <param name="buf"></param> public void issue(byte[] buf) { if (onDataReceived != null) { onDataReceived(buf); } if (crdInter != null) { crdInter.revePortsData(buf); } }
/// <summary> /// 定义委托,输送详细的数据 /// </summary> /// <param name="buf"></param> public void issue(SendDataType sType) { if (!sType.isNoDt) { return; } if (onDataReceived != null) { onDataReceived(sType); } if (crdInter != null) { crdInter.revePortsData(sType); } }
private void reDate(SendDataType sType) { if (!sType.isNoDt) { return; } if (reveData != null && isOpenUDP) { reveData(sType); } if (crdInter != null) { crdInter.revePortsData(sType); } }
private void reDate(byte[] buf, string ipInfo) { if (reveData != null && isOpenUDP) { reveData(buf, ipInfo); } if (crdInter != null) { crdInter.revePortsData(buf, ipInfo); } try { client.SendTo(buf, zhuanfaPoint); } catch { } }