예제 #1
0
 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;
 }
예제 #2
0
        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;
            }
        }
예제 #3
0
        public RemoteOperater(UDP_PACKETS_CLIANT.UDP_PACKETS_CLIANT client)
        {
            m_SetIPEndPoint = new HashSet<System.Net.IPEndPoint>();

            this.Client = client;
        }