public void StartTcp() { if (!Configuration.SupportsTcp) throw new NotSupportedException("This client is not meant for Tcp"); if (Host == null) throw new NotSupportedException("The host is not initialized."); IsTcp = true; IsUdp = false; }