<?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[UDP Port horchen]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe hier ein Gerät im Netzwerk welches Daten permanent an meinen Rechner auf Port 5000 UDP sendet. Diese Daten würde ich gerne in einem C++ Programm (unter Linux) lesen und verwenden. Gerne würde ich dazu boost verwenden, habe aber nur das hier gefunden:<br />
<a href="http://www.highscore.de/cpp/boost/asio.html#asio_netzwerkprogrammierung" rel="nofollow">http://www.highscore.de/cpp/boost/asio.html#asio_netzwerkprogrammierung</a><br />
Ist das schon richtig so, dass man ASIO verwendet? Oder bin ich da aufm Holzweg?<br />
Weiß jemand wie ein minimal-Beispiel aussieht das einfach auf Port 5000 Daten entgegennimmt?</p>
<p>Vielen Dank, fabske</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/309540/udp-port-horchen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 16:36:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/309540.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Oct 2012 07:35:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UDP Port horchen on Thu, 25 Oct 2012 07:35:29 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe hier ein Gerät im Netzwerk welches Daten permanent an meinen Rechner auf Port 5000 UDP sendet. Diese Daten würde ich gerne in einem C++ Programm (unter Linux) lesen und verwenden. Gerne würde ich dazu boost verwenden, habe aber nur das hier gefunden:<br />
<a href="http://www.highscore.de/cpp/boost/asio.html#asio_netzwerkprogrammierung" rel="nofollow">http://www.highscore.de/cpp/boost/asio.html#asio_netzwerkprogrammierung</a><br />
Ist das schon richtig so, dass man ASIO verwendet? Oder bin ich da aufm Holzweg?<br />
Weiß jemand wie ein minimal-Beispiel aussieht das einfach auf Port 5000 Daten entgegennimmt?</p>
<p>Vielen Dank, fabske</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263781</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263781</guid><dc:creator><![CDATA[fabske]]></dc:creator><pubDate>Thu, 25 Oct 2012 07:35:29 GMT</pubDate></item><item><title><![CDATA[Reply to UDP Port horchen on Thu, 25 Oct 2012 08:28:17 GMT]]></title><description><![CDATA[<p>Ja, Boost.Asio ist ein guter Ansatz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263796</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Thu, 25 Oct 2012 08:28:17 GMT</pubDate></item><item><title><![CDATA[Reply to UDP Port horchen on Thu, 25 Oct 2012 09:15:23 GMT]]></title><description><![CDATA[<p>Sehr schlecht, ich kämpfe nämlich mit boost.asio.. Ich habe bereits mehrere Programme mit Boost geschrieben und sie kompilieren alle, nur boost.asio mag nicht.</p>
<p>Es geht um das Beispiel Nummer 2 in diesem Tutorial:<br />
<a href="http://www.highscore.de/cpp/boost/asio.html#asio_netzwerkprogrammierung" rel="nofollow">http://www.highscore.de/cpp/boost/asio.html#asio_netzwerkprogrammierung</a></p>
<p>Und das hier ist das Ergebnis: <a href="http://nopaste.info/f0fe571141.html" rel="nofollow">http://nopaste.info/f0fe571141.html</a><br />
<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/2263818</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263818</guid><dc:creator><![CDATA[fabske]]></dc:creator><pubDate>Thu, 25 Oct 2012 09:15:23 GMT</pubDate></item><item><title><![CDATA[Reply to UDP Port horchen on Thu, 25 Oct 2012 09:18:24 GMT]]></title><description><![CDATA[<p>Auf jeden Fall fehlt -lpthread.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263819</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263819</guid><dc:creator><![CDATA[Kellerautomat]]></dc:creator><pubDate>Thu, 25 Oct 2012 09:18:24 GMT</pubDate></item><item><title><![CDATA[Reply to UDP Port horchen on Thu, 25 Oct 2012 09:22:12 GMT]]></title><description><![CDATA[<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>
<p>Und highscore.cpp muss nach vorne gestellt werden!<br />
So geht es: g++ highscore.cpp -lboost_system -lboost_thread -lpthread</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263820</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263820</guid><dc:creator><![CDATA[fabske]]></dc:creator><pubDate>Thu, 25 Oct 2012 09:22:12 GMT</pubDate></item></channel></rss>