<?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[CAsyncSocket]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich möchte eine Chatanwendung schreiben, die übers Inet läuft.<br />
Hab da noch eine etwas ältere, die ich damals für die Verwendung im LAN geschrieben hab. Dabei verwende ich die Klasse CAsyncSocket. Im LAN funktioniert das alles super, übers Inet jedoch nicht.</p>
<p>Weiß jemand warum das so ist ?</p>
<pre><code class="language-cpp">m_cChat.Create();
m_cChat.SetParent(this);
m_cChat.Connect(m_sServerAddress, m_lServerPort);
</code></pre>
<p>m_cChat ist von meiner eignen Klasse die von CAsyncSocket abgeleitet ist.<br />
In m_sServerAddress steht die IP-Adresse des Computers, auf dem das Serverprogramm läuft. --&gt; keine LANs, PCs direkt am Modem</p>
<p>Kann mir jemand helfen, oder weiß jemand ein gutes Besipiel (Source) oder Tut für die Entwicklung eines Chatprogramms mit MFC übers Inet ?</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/61780/casyncsocket</link><generator>RSS for Node</generator><lastBuildDate>Thu, 04 Jun 2026 03:51:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/61780.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Jan 2004 22:57:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CAsyncSocket on Fri, 16 Jan 2004 22:57:49 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich möchte eine Chatanwendung schreiben, die übers Inet läuft.<br />
Hab da noch eine etwas ältere, die ich damals für die Verwendung im LAN geschrieben hab. Dabei verwende ich die Klasse CAsyncSocket. Im LAN funktioniert das alles super, übers Inet jedoch nicht.</p>
<p>Weiß jemand warum das so ist ?</p>
<pre><code class="language-cpp">m_cChat.Create();
m_cChat.SetParent(this);
m_cChat.Connect(m_sServerAddress, m_lServerPort);
</code></pre>
<p>m_cChat ist von meiner eignen Klasse die von CAsyncSocket abgeleitet ist.<br />
In m_sServerAddress steht die IP-Adresse des Computers, auf dem das Serverprogramm läuft. --&gt; keine LANs, PCs direkt am Modem</p>
<p>Kann mir jemand helfen, oder weiß jemand ein gutes Besipiel (Source) oder Tut für die Entwicklung eines Chatprogramms mit MFC übers Inet ?</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/438380</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/438380</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Fri, 16 Jan 2004 22:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Fri, 16 Jan 2004 23:25:15 GMT]]></title><description><![CDATA[<p>Alloa.</p>
<p>Also eigentlich müßte das im Inet genauso funzen wie auch im Lan.<br />
IP-Adressen im Lan sind ja genauso wie im Netz.<br />
Internet ist ja auch nur ein &quot;LAN&quot; nur halt ein bissl größer.</p>
<p>Was genau funktioniet denn nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/438405</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/438405</guid><dc:creator><![CDATA[TeeJay]]></dc:creator><pubDate>Fri, 16 Jan 2004 23:25:15 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Sat, 17 Jan 2004 06:16:12 GMT]]></title><description><![CDATA[<p>Allerdings muss man hier aufpassen das man nicht hinter einem Router ist. Dieser blockt die Connects.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/438455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/438455</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Sat, 17 Jan 2004 06:16:12 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Sat, 17 Jan 2004 11:49:59 GMT]]></title><description><![CDATA[<p>CrazyOwl schrieb:</p>
<blockquote>
<p>keine LANs, PCs direkt am Modem</p>
</blockquote>
<p>Also keine (privaten) Router.<br />
Gibts sonst noch Ideen warum das nicht funktioniert ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/438550</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/438550</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Sat, 17 Jan 2004 11:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Sat, 17 Jan 2004 12:46:22 GMT]]></title><description><![CDATA[<p>Was genau funktioniert denn nicht?</p>
<p>Gibts kein Connect? Oder was is los?</p>
<p>Ein paar Infos bräuchten wir schon.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/438592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/438592</guid><dc:creator><![CDATA[TeeJay]]></dc:creator><pubDate>Sat, 17 Jan 2004 12:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Sun, 18 Jan 2004 13:56:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/156">@Unix-Tom</a><br />
Normalerweise lässt ein Router alle Verbindungen ins Internet zu, bis auf ein paar Ports, die man aber manuell blocken muss. Wäre sonst ja auch Schwachsinn.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/39">@CrazyOwl</a><br />
Tut: Visual C++ in 21 Tagen - Tag 20 &quot;Internet und Netzwerk&quot;:<br />
<a href="http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm" rel="nofollow">http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm</a></p>
<p>Hast du überhaupt einen Server, zu dem du Connecten kannst?</p>
<p>Grüße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/439092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/439092</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Sun, 18 Jan 2004 13:56:00 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Mon, 19 Jan 2004 06:41:32 GMT]]></title><description><![CDATA[<p>Rapha schrieb:</p>
<blockquote>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/156">@Unix-Tom</a><br />
Normalerweise lässt ein Router alle Verbindungen ins Internet zu, bis auf ein paar Ports, die man aber manuell blocken muss. Wäre sonst ja auch Schwachsinn.</p>
</blockquote>
<p>Wenn etwas nicht geht sollte man nicht von Normalerweise ausgehen. Wenn nur der PORT 80 auf einen Router nach AUßen offen ist macht dies durchaus Sinn ist in Firmen eigentlich Standard.<br />
Bzw. wird kein PORT aufgemacht da hier Proxys arbeiten können.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/439540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/439540</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Mon, 19 Jan 2004 06:41:32 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Mon, 19 Jan 2004 11:48:13 GMT]]></title><description><![CDATA[<p>[quote=&quot;Unix-Tom]Wenn etwas nicht geht sollte man nicht von Normalerweise ausgehen. Wenn nur der PORT 80 auf einen Router nach Außen offen ist macht dies durchaus Sinn ist in Firmen eigentlich Standard.<br />
Bzw. wird kein PORT aufgemacht da hier Proxys arbeiten können.[/quote]<br />
Hab vergessen, dass hier die meisten schon berufstätig sind <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /><br />
Bin vom Personal Router <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> ausgegangen.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/39">@CrazyOwl</a>: Du kannst zum Test mal eine Verbindung auf <a href="http://www.gmx.de" rel="nofollow">http://www.gmx.de</a> auf Port 80 aufmachen und gucken, obs klappt.</p>
<p>Güße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/439702</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/439702</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Mon, 19 Jan 2004 11:48:13 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Sun, 25 Jan 2004 20:45:04 GMT]]></title><description><![CDATA[<p>Genau das mit den Routern ist das Problem.<br />
Ohne Router funktionierts jetzt.<br />
Ok, gibts eine Möglichkeit das zu umgehen, so wie ICQ das macht ?</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/443942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/443942</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Sun, 25 Jan 2004 20:45:04 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Sun, 25 Jan 2004 20:53:37 GMT]]></title><description><![CDATA[<p>du könntest versuchen, zu tunneln, mit dem:<br />
<a href="http://www.securityworm.com/software/internetsecurity/proxy/httport-3.snf.html" rel="nofollow">http://www.securityworm.com/software/internetsecurity/proxy/httport-3.snf.html</a></p>
<p>zum bleistift, oder einem anderen.. ist natürlicht ein unsicherheitsfaktor dabei, und in den meisten firmen nicht genehm.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/443943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/443943</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Sun, 25 Jan 2004 20:53:37 GMT</pubDate></item><item><title><![CDATA[Reply to CAsyncSocket on Mon, 26 Jan 2004 17:20:34 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>CrazyOwl schrieb:</p>
<blockquote>
<p>Genau das mit den Routern ist das Problem.</p>
</blockquote>
<p>Muss doch nochmal fragen. Warum gehts mit Routern nicht? Es müsste eigendlich gehen, wenn der Router als Gateway eingestellt ist (=&gt; Alle Verbindungen werden auf ihn umgeleitet). ICQ macht da gar nichts besonderes.<br />
Das Umleiten macht Windows <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Grüße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/444528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/444528</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Mon, 26 Jan 2004 17:20:34 GMT</pubDate></item></channel></rss>