<?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[Socket: 3 client nachrichten kommen als 1ne nachricht beim server an]]></title><description><![CDATA[<p>hallo,</p>
<p>ich habe einen Socket-Server und Client und ein kleines problem.</p>
<p>der Client sendet 3 sachen hintereinander:</p>
<pre><code>send(s,&quot;name Name&quot;,strlen(&quot;name Name&quot;),0);
send(s,&quot;status 1&quot;,strlen(&quot;status 1&quot;),0);
send(s,&quot;version 4.0&quot;,strlen(&quot;version 4.0&quot;),0);
</code></pre>
<p>diese kommen bei dem server allerdings als 1ne nachricht an!</p>
<p>kann ich nach einem send irgendwie eine funktion aufrufen die dem server sagt<br />
&quot;nachricht ende&quot; oder &quot;nächstes send vom client&quot; ?!</p>
<p>ich hoffe ihr versteht was ich meine <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>
<p>danke...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/149578/socket-3-client-nachrichten-kommen-als-1ne-nachricht-beim-server-an</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 08:18:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/149578.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jun 2006 12:51:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 12:51:35 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>ich habe einen Socket-Server und Client und ein kleines problem.</p>
<p>der Client sendet 3 sachen hintereinander:</p>
<pre><code>send(s,&quot;name Name&quot;,strlen(&quot;name Name&quot;),0);
send(s,&quot;status 1&quot;,strlen(&quot;status 1&quot;),0);
send(s,&quot;version 4.0&quot;,strlen(&quot;version 4.0&quot;),0);
</code></pre>
<p>diese kommen bei dem server allerdings als 1ne nachricht an!</p>
<p>kann ich nach einem send irgendwie eine funktion aufrufen die dem server sagt<br />
&quot;nachricht ende&quot; oder &quot;nächstes send vom client&quot; ?!</p>
<p>ich hoffe ihr versteht was ich meine <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>
<p>danke...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073148</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073148</guid><dc:creator><![CDATA[K.Wuestkamp]]></dc:creator><pubDate>Wed, 07 Jun 2006 12:51:35 GMT</pubDate></item><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 13:00:43 GMT]]></title><description><![CDATA[<p>Setze mal ein Sleep(3000) dazwischen. Ich könnte mir vorstellen das die Nachrichten vom BS gepuffert oder gesammelt werden und dann als gesamte Nachricht losgeschickt werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073155</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073155</guid><dc:creator><![CDATA[Chris++ 0]]></dc:creator><pubDate>Wed, 07 Jun 2006 13:00:43 GMT</pubDate></item><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 13:13:37 GMT]]></title><description><![CDATA[<p>Das ist so &quot;by-design&quot;. Ich würde halt ein vernünftiges App-Layer Protokoll verwenden (z.B: zuerst die Länge des Strings (4 bytes) mitsenden).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073166</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073166</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 07 Jun 2006 13:13:37 GMT</pubDate></item><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 13:56:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5675">@Jochen</a> Kalmbach<br />
hallo, meinst du so das der server dann überprüft wo die eine message endet und die nächste beginnt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073202</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073202</guid><dc:creator><![CDATA[K.Wuestkamp]]></dc:creator><pubDate>Wed, 07 Jun 2006 13:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 14:27:55 GMT]]></title><description><![CDATA[<p><a href="http://tangentsoft.net/wskfaq/intermediate.html#packetscheme" rel="nofollow">http://tangentsoft.net/wskfaq/intermediate.html#packetscheme</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073225</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073225</guid><dc:creator><![CDATA[,.......]]></dc:creator><pubDate>Wed, 07 Jun 2006 14:27:55 GMT</pubDate></item><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 18:39:56 GMT]]></title><description><![CDATA[<p>K.Wuestkamp schrieb:</p>
<blockquote>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5675">@Jochen</a> Kalmbach<br />
hallo, meinst du so das der server dann überprüft wo die eine message endet und die nächste beginnt?</p>
</blockquote>
<p>ja genau so ist es</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073381</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073381</guid><dc:creator><![CDATA[..]]></dc:creator><pubDate>Wed, 07 Jun 2006 18:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to Socket: 3 client nachrichten kommen als 1ne nachricht beim server an on Wed, 07 Jun 2006 18:41:11 GMT]]></title><description><![CDATA[<p>ein send() korrespondiert nicht immer zu einem recv() das betriebssystem kann das alles machen wie es will...stell es dir nicht wie nachrichten oder pakete sondern wie einen strom von daten vor</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073382</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073382</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Wed, 07 Jun 2006 18:41:11 GMT</pubDate></item></channel></rss>