원격장비 PORT 열려있는지 확인
private TcpClient cpTcpClient; public delegate void ReceiveDataWrite(int port, bool state); public void WriteData(int port, bool msg) { ReceiveDataWrite deleWrite = new ReceiveDataWrite(WriteReceiveData); this.Invoke(deleWrite, new object[] { port,msg }); } public void WriteReceiveData(int port, bool msg) { RecvtextBox.AppendText(port.ToString() + " " + msg.ToString() + "\r\n"); } private void C..
C#
2012. 1. 4. 10:03