//固定使用10086端口,ip格式:127.0.0.1 public void OnClickConnectBtn(string connectipstr) { if (m_tcpClient != null && !m_tcpClient.ClientConnected()) { m_tcpClient.ClientConnect(connectipstr, 10086); } }
//固定使用10086端口,ip格式:127.0.0.1 public void OnClickConnectBtn(string connectipstr) { if (m_tcpClient != null && !m_tcpClient.ClientConnected()) { m_tcpClient.ClientConnect(connectipstr, 10086); } }