<?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[recv problem :( es hängt WinAPI prog auf]]></title><description><![CDATA[<p>moin,<br />
ich habe ein problem :</p>
<p>ich mache einen client in c++, doch ichhabe das problem, das sich der cleint einfach aushängt, manchmal zeigt er die gesendetet daten an <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">case WM_TIMER:
                rc = recv(sock, bufdata, 32, 0);
                bufdata[rc] = '\0';
                SendMessage(hChat, WM_GETTEXT, sizeof(hchat), (ULONG)hchat);
                strcat(hchat, bufdata);
                SendMessage(hChat, WM_SETTEXT, sizeof(hchat), (LPARAM)hchat); 
            break;
</code></pre>
<p>habe nen timer mit 10 milisec refresh ...</p>
<p>woran leigt das, dass meine anwendung hängt?<br />
wenn ich rc = recv(sock, bufdata, 32, 0); weg mache, dann functionert das prog einbanfrei, nur das es halt keine daten empfangen werden ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/140727/recv-problem-es-hängt-winapi-prog-auf</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 04:25:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/140727.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Mar 2006 21:04:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to recv problem :( es hängt WinAPI prog auf on Thu, 16 Mar 2006 21:04:08 GMT]]></title><description><![CDATA[<p>moin,<br />
ich habe ein problem :</p>
<p>ich mache einen client in c++, doch ichhabe das problem, das sich der cleint einfach aushängt, manchmal zeigt er die gesendetet daten an <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">case WM_TIMER:
                rc = recv(sock, bufdata, 32, 0);
                bufdata[rc] = '\0';
                SendMessage(hChat, WM_GETTEXT, sizeof(hchat), (ULONG)hchat);
                strcat(hchat, bufdata);
                SendMessage(hChat, WM_SETTEXT, sizeof(hchat), (LPARAM)hchat); 
            break;
</code></pre>
<p>habe nen timer mit 10 milisec refresh ...</p>
<p>woran leigt das, dass meine anwendung hängt?<br />
wenn ich rc = recv(sock, bufdata, 32, 0); weg mache, dann functionert das prog einbanfrei, nur das es halt keine daten empfangen werden ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1017900</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1017900</guid><dc:creator><![CDATA[tütü]]></dc:creator><pubDate>Thu, 16 Mar 2006 21:04:08 GMT</pubDate></item><item><title><![CDATA[Reply to recv problem :( es hängt WinAPI prog auf on Thu, 16 Mar 2006 23:15:00 GMT]]></title><description><![CDATA[<p>recv blockiert. such funktion. thema wurde schon ungefär 1.000.000.000 mal durchgesprochen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1017965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1017965</guid><dc:creator><![CDATA[tatü tata]]></dc:creator><pubDate>Thu, 16 Mar 2006 23:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to recv problem :( es hängt WinAPI prog auf on Fri, 17 Mar 2006 12:25:14 GMT]]></title><description><![CDATA[<p>aber aus irrgendeinem grund findet dei suche ganichts ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1018205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1018205</guid><dc:creator><![CDATA[tütü]]></dc:creator><pubDate>Fri, 17 Mar 2006 12:25:14 GMT</pubDate></item><item><title><![CDATA[Reply to recv problem :( es hängt WinAPI prog auf on Fri, 17 Mar 2006 13:53:49 GMT]]></title><description><![CDATA[<p>erstell nen thread für die netzwerkkommunikation.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1018317</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1018317</guid><dc:creator><![CDATA[recv]]></dc:creator><pubDate>Fri, 17 Mar 2006 13:53:49 GMT</pubDate></item></channel></rss>