private void Radio_Multicast_CheckedChanged(object sender, EventArgs e) { ConnectButton.Enabled = true; m_MulticastClient = !m_MulticastClient; TextBox_Endpoint.Clear(); TextBox_Endpoint.Text = "224.100.0.1"; TextBox_Port.Clear(); TextBox_Port.Text = "1337"; }
private void Radio_TCP_CheckedChanged(object sender, EventArgs e) { ConnectButton.Enabled = true; m_TCPClient = !m_TCPClient; Button_StartServer.Enabled = !Button_StartServer.Enabled; TextBox_Endpoint.Clear(); TextBox_Endpoint.Text = UsefullToolz.GetIP(); TextBox_Port.Clear(); TextBox_Port.Text = "3000"; }