<?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[sockets]]></title><description><![CDATA[<p>hallo, ich habe ein programm mit 2 textfelder. wenn ich da bei beiden was eingebe und ok klicke, wird was weggeschickt: (wireshark)</p>
<pre><code class="language-cpp">0000  00 15 0c 0b 9c 41 00 04  0e c2 02 d1 08 00 45 00   .....A.. ......E.
0010  00 81 2d df 40 00 80 06  0c 90 c0 a8 b2 19 c3 3b   ..-.@... .......;
0020  8a 0a 0b 3d 59 d8 e3 09  ed 05 4b 94 30 19 50 18   ...=Y... ..K.0.P.
0030  ff f2 fa 7f 00 00 5e a4  09 d2 2a 4c 00 00 00 1e   ......^. ..*L....
0040  2c 97 3d fc 00 00 00 08  00 00 00 32 30 30 37 30   ,.=..... ...20070
0050  37 31 32 20 00 00 00 31  37 34 65 63 62 34 39 61   712 ...1 74ecb49a
0060  62 35 66 30 33 63 32 31  62 63 62 31 66 33 36 30   b5f03c21 bcb1f360
0070  65 66 66 38 31 36 35 08  00 00 00 6c 61 75 73 65   eff8165. ...lause
0080  6e 78 78 08 00 00 00 31  32 33 34 35 36 37 38      ndd....1 2345678
</code></pre>
<p>ich habe lausendd und 12345678 eingegeben.<br />
aber was bedeutet das darüber?<br />
Wäre es möglich das ich ein solches paket simuliere über<br />
send(socket(verbunden mit dem gleichen server), &quot;lausendd 12345678&quot;,...);?<br />
danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/223194/sockets</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 11:02:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/223194.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Sep 2008 15:05:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 15:05:36 GMT]]></title><description><![CDATA[<p>hallo, ich habe ein programm mit 2 textfelder. wenn ich da bei beiden was eingebe und ok klicke, wird was weggeschickt: (wireshark)</p>
<pre><code class="language-cpp">0000  00 15 0c 0b 9c 41 00 04  0e c2 02 d1 08 00 45 00   .....A.. ......E.
0010  00 81 2d df 40 00 80 06  0c 90 c0 a8 b2 19 c3 3b   ..-.@... .......;
0020  8a 0a 0b 3d 59 d8 e3 09  ed 05 4b 94 30 19 50 18   ...=Y... ..K.0.P.
0030  ff f2 fa 7f 00 00 5e a4  09 d2 2a 4c 00 00 00 1e   ......^. ..*L....
0040  2c 97 3d fc 00 00 00 08  00 00 00 32 30 30 37 30   ,.=..... ...20070
0050  37 31 32 20 00 00 00 31  37 34 65 63 62 34 39 61   712 ...1 74ecb49a
0060  62 35 66 30 33 63 32 31  62 63 62 31 66 33 36 30   b5f03c21 bcb1f360
0070  65 66 66 38 31 36 35 08  00 00 00 6c 61 75 73 65   eff8165. ...lause
0080  6e 78 78 08 00 00 00 31  32 33 34 35 36 37 38      ndd....1 2345678
</code></pre>
<p>ich habe lausendd und 12345678 eingegeben.<br />
aber was bedeutet das darüber?<br />
Wäre es möglich das ich ein solches paket simuliere über<br />
send(socket(verbunden mit dem gleichen server), &quot;lausendd 12345678&quot;,...);?<br />
danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1586593</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586593</guid><dc:creator><![CDATA[assembly]]></dc:creator><pubDate>Tue, 23 Sep 2008 15:05:36 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 15:20:26 GMT]]></title><description><![CDATA[<p>hab jetzt mal so was abgeschickt:</p>
<pre><code class="language-cpp">char buf[256];
	strcpy(buf,&quot;lausendd 12345678&quot;);
	rc=send(s, buf, 17, 0);
    if(rc == SOCKET_ERROR)
		cout &lt;&lt; &quot;Send hat nicht geklappt: &quot; &lt;&lt; WSAGetLastError() &lt;&lt; endl;
	else if(rc == 0)
		cout &lt;&lt; &quot;Der Partner hat die Verbindung unterbrochen&quot; &lt;&lt; endl;
	else
	    cout &lt;&lt; &quot;Senden erfolgreich&quot; &lt;&lt; endl;
</code></pre>
<p>jedoch sieht der hex dump ganz anders aus usw: woran kann das liegen?</p>
<pre><code class="language-cpp">0000  00 15 0c 0b 9c 41 00 04  0e c2 02 d1 08 00 45 00   .....A.. ......E.
0010  00 39 39 d7 40 00 80 06  00 e0 c0 a8 b2 19 c3 3b   .99.@... .......;
0020  8a 0a 0b b1 59 d8 8f 82  c6 24 21 6f 5c cd 50 18   ....Y... .$!o\.P.
0030  ff ff 15 ce 00 00 6c 61  75 73 65 6e 64 64 20 31   ......la usendd 1
0040  32 33 34 35 36 37 38                               2345678
</code></pre>
<p>ich glaube irgendwas mache ich richtig falsche <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1586600</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586600</guid><dc:creator><![CDATA[assembly]]></dc:creator><pubDate>Tue, 23 Sep 2008 15:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 15:39:53 GMT]]></title><description><![CDATA[<blockquote>
<p>0000 00 15 0c 0b 9c 41 00 04 0e c2 02 d1 08 00 45 00 .....A.. ......E.<br />
0010 00 39 39 d7 40 00 80 06 00 e0 c0 a8 b2 19 c3 3b .99.@... .......;<br />
0020 8a 0a 0b b1 59 d8 8f 82 c6 24 21 6f 5c cd 50 18 ....Y... .$!o\.P.<br />
0030 ff ff 15 ce 00 00 6c 61 75 73 65 6e 64 64 20 31 ......<strong>la usendd 1</strong><br />
0040 32 33 34 35 36 37 38 <strong>2345678</strong></p>
</blockquote>
<p>Bitte nächstes mal etwas genauer gucken.<br />
<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>
]]></description><link>https://www.c-plusplus.net/forum/post/1586621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586621</guid><dc:creator><![CDATA[Husten]]></dc:creator><pubDate>Tue, 23 Sep 2008 15:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 15:45:34 GMT]]></title><description><![CDATA[<p>0000 00 15 0c 0b 9c 41 00 04 0e c2 02 d1 08 00 45 00 .....A.. ......E.<br />
0010 00 39 39 d7 40 00 80 06 00 e0 c0 a8 b2 19 c3 3b .99.@... .......;<br />
0020 8a 0a 0b b1 59 d8 8f 82 c6 24 21 6f 5c cd 50 18 ....Y... .$!o\.P.<br />
0030 ff ff 15 ce 00 00 6c 61 75 73 65 6e 64 64 20 31 ......la lausendd 1<br />
0040 32 33 34 35 36 37 38 2345678<br />
es liegt natürlich nicht daran das verändert das packet nicht!<br />
Die packete sind ja total verschieden</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1586623</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586623</guid><dc:creator><![CDATA[assembly]]></dc:creator><pubDate>Tue, 23 Sep 2008 15:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 16:01:16 GMT]]></title><description><![CDATA[<p>was ist die frage? ich versteh sie nämlich nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1586637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586637</guid><dc:creator><![CDATA[ascda]]></dc:creator><pubDate>Tue, 23 Sep 2008 16:01:16 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 20:46:21 GMT]]></title><description><![CDATA[<p>ja warum das packet falsch ist ich hab über sockets mit dem server verbunden aber es sieht anders aus als wenn die daten von dem programm selber geschickt werden</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1586870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586870</guid><dc:creator><![CDATA[assembly]]></dc:creator><pubDate>Tue, 23 Sep 2008 20:46:21 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 21:04:04 GMT]]></title><description><![CDATA[<p>Dann zeig doch mal deinen Code zum versenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1586885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586885</guid><dc:creator><![CDATA[O.o]]></dc:creator><pubDate>Tue, 23 Sep 2008 21:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to sockets on Tue, 23 Sep 2008 21:06:05 GMT]]></title><description><![CDATA[<p>Beide Dumps sind &quot;richtig&quot;. Das erste Programm oben schickt lediglich mehr weg als nur das, was in den beiden Textfeldern eingegeben wurde. Z.B. noch eine Prüfsumme (als &quot;string&quot;) und die Länge der Eingaben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1586889</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1586889</guid><dc:creator><![CDATA[kabelhaifisch]]></dc:creator><pubDate>Tue, 23 Sep 2008 21:06:05 GMT</pubDate></item></channel></rss>