public RemoteOperater(UDP_PACKETS_CLIANT.UDP_PACKETS_CLIANT client, RemoteHostServer RHS, MainWindow parent) { m_SetIPEndPoint = new HashSet<System.Net.IPEndPoint>(); this.RHS = RHS; this.mainwindow = parent; this.Client = client; }
public static void Udp_Send(UDP_PACKETS_CLIANT.UDP_PACKETS_CLIANT client, TerminalConnectionSettings.TerminalProtocols.CIPCTerminalCommand terminalcommand) { try { UDP_PACKETS_CODER.UDP_PACKETS_ENCODER enc = new UDP_PACKETS_CODER.UDP_PACKETS_ENCODER(); enc += (int)20; enc += (string)terminalcommand.Data; client.Send(enc.data); } catch (Exception ex) { throw; } }
public RemoteOperater(UDP_PACKETS_CLIANT.UDP_PACKETS_CLIANT client) { m_SetIPEndPoint = new HashSet<System.Net.IPEndPoint>(); this.Client = client; }