<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Try, catch ClientSocketError]]></title><description><![CDATA[<pre><code class="language-cpp">void __fastcall TForm1::Button1Click(TObject *Sender)
{
     ClientSocket1-&gt;Host = Edit1-&gt;Text;
     ClientSocket1-&gt;Port = StrToInt(Edit2-&gt;Text);
     try
     {
          ClientSocket1-&gt;Active = true;
     }
     catch (...)
     {
          ShowMessage(&quot;Error&quot;);
     }
}
</code></pre>
<p>Wenn der Client jetzt nicht connecten kann, dann kommt trotzdem immer dieses Abbruchsfenster, nicht aber meine Meldung...ich möchte aber diese Fehlermeldung vom Programm unterdrücken.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/125570/try-catch-clientsocketerror</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Jul 2026 09:50:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/125570.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Nov 2005 17:31:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Try, catch ClientSocketError on Mon, 07 Nov 2005 17:31:36 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">void __fastcall TForm1::Button1Click(TObject *Sender)
{
     ClientSocket1-&gt;Host = Edit1-&gt;Text;
     ClientSocket1-&gt;Port = StrToInt(Edit2-&gt;Text);
     try
     {
          ClientSocket1-&gt;Active = true;
     }
     catch (...)
     {
          ShowMessage(&quot;Error&quot;);
     }
}
</code></pre>
<p>Wenn der Client jetzt nicht connecten kann, dann kommt trotzdem immer dieses Abbruchsfenster, nicht aber meine Meldung...ich möchte aber diese Fehlermeldung vom Programm unterdrücken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/910814</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/910814</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Mon, 07 Nov 2005 17:31:36 GMT</pubDate></item><item><title><![CDATA[Reply to Try, catch ClientSocketError on Mon, 07 Nov 2005 17:57:21 GMT]]></title><description><![CDATA[<p>Wird von dieser Zuweisung aus der Connect aufgerufen? Du mußt immer die Anweisung von try/catch umgeben, die den möglichen Fehler auslösen könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/910849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/910849</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 07 Nov 2005 17:57:21 GMT</pubDate></item><item><title><![CDATA[Reply to Try, catch ClientSocketError on Mon, 07 Nov 2005 18:05:33 GMT]]></title><description><![CDATA[<p>Hmm, ich denke mal, dass wenn man den Socket auf Active stellt und er aber nicht connecten kann, dann liegt es doch dadran oder?</p>
<p>Obwohl stimmt ja gar nicht, denn aktif ist er dann ja...wo muss das denn hin? oO</p>
]]></description><link>https://www.c-plusplus.net/forum/post/910862</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/910862</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Mon, 07 Nov 2005 18:05:33 GMT</pubDate></item><item><title><![CDATA[Reply to Try, catch ClientSocketError on Mon, 07 Nov 2005 18:25:25 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-125223.html" rel="nofollow">das Thema</a> hatten wir doch erst vor kurzem.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/910884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/910884</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Nov 2005 18:25:25 GMT</pubDate></item><item><title><![CDATA[Reply to Try, catch ClientSocketError on Mon, 07 Nov 2005 18:33:22 GMT]]></title><description><![CDATA[<p>Ah ja huch, sry!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/910894</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/910894</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Mon, 07 Nov 2005 18:33:22 GMT</pubDate></item></channel></rss>