<?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[Server&#x2F;Client verbindung - CAsyncSocket]]></title><description><![CDATA[<p>hallo leute,<br />
habe folgendes problem:</p>
<p>ich habe einen PC der an netzwerk angeschlossen ist (ohne firewall etc), auf diesem PC läuft ein Server... (ip und port bekannt)</p>
<p>jetzt habe ich einen Client geschrieben, der soll zu diesem PC connecten</p>
<p>mein Client gibt aber laut GetLastError() folgende Fehlermeldung beim aufruf von ClientSocket.Connect(Address, Port)<br />
aus:</p>
<pre><code>&quot;The socket is marked as nonblocking and the connection cannot be completed immediately&quot;
</code></pre>
<p>den Client habe ich testweise mit MFC klasse CAsyncSocket realisiert...</p>
<p>weisst einer woran das liegen kann ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162024/server-client-verbindung-casyncsocket</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Jul 2026 20:48:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162024.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Oct 2006 15:37:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Server&#x2F;Client verbindung - CAsyncSocket on Fri, 13 Oct 2006 15:37:39 GMT]]></title><description><![CDATA[<p>hallo leute,<br />
habe folgendes problem:</p>
<p>ich habe einen PC der an netzwerk angeschlossen ist (ohne firewall etc), auf diesem PC läuft ein Server... (ip und port bekannt)</p>
<p>jetzt habe ich einen Client geschrieben, der soll zu diesem PC connecten</p>
<p>mein Client gibt aber laut GetLastError() folgende Fehlermeldung beim aufruf von ClientSocket.Connect(Address, Port)<br />
aus:</p>
<pre><code>&quot;The socket is marked as nonblocking and the connection cannot be completed immediately&quot;
</code></pre>
<p>den Client habe ich testweise mit MFC klasse CAsyncSocket realisiert...</p>
<p>weisst einer woran das liegen kann ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1154242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1154242</guid><dc:creator><![CDATA[Sergius]]></dc:creator><pubDate>Fri, 13 Oct 2006 15:37:39 GMT</pubDate></item><item><title><![CDATA[Reply to Server&#x2F;Client verbindung - CAsyncSocket on Fri, 13 Oct 2006 20:39:27 GMT]]></title><description><![CDATA[<p>ist ganz normal...ist keine echte fehlermeldung. nur ein hinweis.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1154358</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1154358</guid><dc:creator><![CDATA[eeeeeeee]]></dc:creator><pubDate>Fri, 13 Oct 2006 20:39:27 GMT</pubDate></item><item><title><![CDATA[Reply to Server&#x2F;Client verbindung - CAsyncSocket on Sat, 14 Oct 2006 07:18:51 GMT]]></title><description><![CDATA[<p>hmm...muss mal bei deinem Server schauen, ob der sync oder ASync läuft. Unter umständen versteht der Server den Client einfach nicht.<br />
Oder bekommst du eine Verbindung und hält der Client dann an?</p>
<p>Nen bisl mehr musst du schon dazu posten. Der Fehler (Es ist einer ! ) ist zu ungenau um daraus schlau zu werden..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1154446</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1154446</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Sat, 14 Oct 2006 07:18:51 GMT</pubDate></item><item><title><![CDATA[Reply to Server&#x2F;Client verbindung - CAsyncSocket on Sat, 14 Oct 2006 08:01:40 GMT]]></title><description><![CDATA[<p>Uruk-h4j schrieb:</p>
<blockquote>
<p>Der Fehler (Es ist einer ! ) ist zu ungenau um daraus schlau zu werden..</p>
</blockquote>
<p>Das ist kein Fehler, sondern das normale Verhalten bei asynchronen Sockets.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1154450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1154450</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Sat, 14 Oct 2006 08:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to Server&#x2F;Client verbindung - CAsyncSocket on Mon, 16 Oct 2006 10:06:11 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>leider ist es ein Fehler, da</p>
<pre><code>ClientSocket.Connect(Address, Port)
</code></pre>
<p>als rückgabewert fehler anzeigt,</p>
<p>wenn ich dann eben mit</p>
<pre><code>GetLastError()
</code></pre>
<p>diesen Fehler anschaue, kommt eben diese</p>
<pre><code>&quot;The socket is marked as nonblocking and the connection cannot be completed immediately&quot;
</code></pre>
<p>meldung raus...</p>
<p>leider werde ich da nicht schlauer...</p>
<p>ob server syncron oder asynchron läuft kann ich leider nicht nachschaue, ist weit entfernter pc und ich habe da keine direkte kontrolle über den,</p>
<p>kann man irgendwie bestimmen, in welchem modus der server läuft (sync, async) ?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155565</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155565</guid><dc:creator><![CDATA[Sergius]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:06:11 GMT</pubDate></item><item><title><![CDATA[Reply to Server&#x2F;Client verbindung - CAsyncSocket on Mon, 16 Oct 2006 12:55:47 GMT]]></title><description><![CDATA[<p>Sergius schrieb:</p>
<blockquote>
<p>leider ist es ein Fehler</p>
</blockquote>
<p>&lt;Gebetsmühle&gt;Nein, es ist kein Fehler.&lt;/Gebetsmühle&gt;</p>
<p>Lies doch mal die Dokumentation:</p>
<p>MSDN Library schrieb:</p>
<blockquote>
<p>If this indicates an error code of WSAEWOULDBLOCK, and your application is using the overridable callbacks, your application will receive an OnConnect message when the connect operation is complete.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1155699</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155699</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Mon, 16 Oct 2006 12:55:47 GMT</pubDate></item></channel></rss>