private void voipclient_OnConnectFailed() { //call disconnect to clear out any state information voipclient.Disconnect(); textBoxLog.Text += "Failed to connect to Conaito server\n"; updateButtonStates(); }
public bool Disconnect() { if (m_voipclient.IsConnected() || m_voipclient.IsConnecting()) { bool bStatus = m_voipclient.Disconnect(); return(bStatus); } else { return(false); } }
private void voipclient_OnConnectFailed() { logDebugOnly("Connection to Conaito server failed\n"); m_voipclient.Disconnect(); updateButtonStates(); }