<?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[TCP Verbindung&#x2F;-en killen]]></title><description><![CDATA[<p>Hi,<br />
ich google mittlerweile seit fast einer Stunde und suche nach einer Lösung, eine TCP Verbindungen (falls es nicht anders geht, auch alle) zu beenden - mit C++.<br />
Gibts da eine &quot;etwas&quot; einfachere Möglichkeit, dies zu machen?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/242969/tcp-verbindung-en-killen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 12:28:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/242969.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jun 2009 13:54:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 13:54:16 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich google mittlerweile seit fast einer Stunde und suche nach einer Lösung, eine TCP Verbindungen (falls es nicht anders geht, auch alle) zu beenden - mit C++.<br />
Gibts da eine &quot;etwas&quot; einfachere Möglichkeit, dies zu machen?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724529</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724529</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 13:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 13:58:48 GMT]]></title><description><![CDATA[<p>Stecker rausziehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724535</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724535</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 10 Jun 2009 13:58:48 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 14:01:17 GMT]]></title><description><![CDATA[<p>Ich weiss nicht ob das so pauschal mit den normalen Boardmitteln geht! Was möchtest du genau machen? Worum geht es?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724536</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724536</guid><dc:creator><![CDATA[Helperlein]]></dc:creator><pubDate>Wed, 10 Jun 2009 14:01:17 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 14:01:46 GMT]]></title><description><![CDATA[<p>theta schrieb:</p>
<blockquote>
<p>Stecker rausziehen?</p>
</blockquote>
<p>You failed. It isn't C++.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724538</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Wed, 10 Jun 2009 14:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 14:08:30 GMT]]></title><description><![CDATA[<p>Einfach eine x-belibige TCP Verbindung beenden, die man unter netstat -n sehen kann <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/1724547</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724547</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 14:08:30 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 14:27:03 GMT]]></title><description><![CDATA[<p>Keiner eine Idee?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724574</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724574</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 14:27:03 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 15:14:55 GMT]]></title><description><![CDATA[<p>TCPView kanns</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724625</guid><dc:creator><![CDATA[unhilfreiche antwort]]></dc:creator><pubDate>Wed, 10 Jun 2009 15:14:55 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 15:42:57 GMT]]></title><description><![CDATA[<p>shutdown + closesocket</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724640</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724640</guid><dc:creator><![CDATA[EOP]]></dc:creator><pubDate>Wed, 10 Jun 2009 15:42:57 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 17:16:19 GMT]]></title><description><![CDATA[<p>Lol, &quot;Stecker rausziehen&quot; passt zu <a href="http://german-bash.org" rel="nofollow">german-bash.org</a>!</p>
<pre><code class="language-cpp">MIB_TCPROW row = {MIB_TCP_STATE_DELETE_TCB,local_ip,local_port,remote_ip,remote_port};
SetTcpEntry(&amp;row);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1724700</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724700</guid><dc:creator><![CDATA[sapero]]></dc:creator><pubDate>Wed, 10 Jun 2009 17:16:19 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 18:28:24 GMT]]></title><description><![CDATA[<p>Danke, sapero!</p>
<p>Leider erhalte ich immer einen LNK2019, wenn ich sogar schon Teile des Beispiel Projekts builden will:</p>
<pre><code>#include &lt;winsock2.h&gt;
#include &lt;ws2tcpip.h&gt;
#include &lt;iphlpapi.h&gt;
#include &lt;windows.h&gt;
#include &lt;iostream&gt;

using namespace std;

int main()
{

cout &lt;&lt; &quot;Blablabla&quot;;
    return 0;
}
</code></pre>
<p>ergibt error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup</p>
<p>Habs gelinkt mit WS2_32, WinInet, Iphlpapi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724743</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724743</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 18:28:24 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 18:31:50 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#pragma comment(linker, &quot;/SUBSYSTEM:CONSOLE&quot;)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1724745</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724745</guid><dc:creator><![CDATA[MasterOfFools]]></dc:creator><pubDate>Wed, 10 Jun 2009 18:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 19:45:06 GMT]]></title><description><![CDATA[<p>Ich Volltrottel erstell ne Winapi Anwendung und mach dann keine Winmain Funktion lol</p>
<p>OK, jetzt klappts <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/1724793</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724793</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 19:45:06 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 19:51:12 GMT]]></title><description><![CDATA[<p>Hmm... könnte das dann so klappen, oder muss ich noch irgendwas zusätzlich initialisieren?</p>
<pre><code>MIB_TCPROW row = {MIB_TCP_STATE_DELETE_TCB,0,1852,0,0};  //Irgendeine IP, Port - Nur Lokaler Port 1852
SetTcpEntry(&amp;row);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1724796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724796</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 19:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 20:37:09 GMT]]></title><description><![CDATA[<p>Nein, Du brauchst beide IP und ports.</p>
<pre><code>Streamripper.exe:1288 TCP 192.168.1.101:1070 77.120.105.240:9000 ESTABLISHED
</code></pre>
<pre><code class="language-cpp">MIB_TCPROW row = {MIB_TCP_STATE_DELETE_TCB,
	(DWORD)inet_addr(&quot;192.168.1.101&quot;),
	(DWORD)htons(1070),
	(DWORD)inet_addr(&quot;77.120.105.240&quot;),
	(DWORD)htons(9000)};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1724822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724822</guid><dc:creator><![CDATA[sapero]]></dc:creator><pubDate>Wed, 10 Jun 2009 20:37:09 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Wed, 10 Jun 2009 23:26:42 GMT]]></title><description><![CDATA[<p>Funktioniert! Vielen Dank noch einmal, du hast mir wirklich geholfen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724887</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724887</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Wed, 10 Jun 2009 23:26:42 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Thu, 11 Jun 2009 00:48:20 GMT]]></title><description><![CDATA[<p>Noch ne kleine Frage: Wenn ichs unter Admin Rechten ausführe, funktionierts - aber unter eingeschränkten Rechten erhalte ich &quot;ERR_NETWORK_ACCESS_DENIED&quot;. Was muss ich dem User für rechte geben, dass er die Funktion starten kann?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724895</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724895</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Thu, 11 Jun 2009 00:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Thu, 11 Jun 2009 07:15:19 GMT]]></title><description><![CDATA[<p>MSDN schrieb:</p>
<blockquote>
<p>On Windows Vista or Windows Server 2008, the SetTcpEntry function can only be called by a user logged on as a member of the Administrators group. If SetTcpEntry is called by a user that is not a member of the Administrators group, the function call will fail and ERROR_ACCESS_DENIED is returned</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1724912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724912</guid><dc:creator><![CDATA[Krampf]]></dc:creator><pubDate>Thu, 11 Jun 2009 07:15:19 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Thu, 11 Jun 2009 07:16:16 GMT]]></title><description><![CDATA[<p>oh sry, das wars wohl nicht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724913</guid><dc:creator><![CDATA[Krampf]]></dc:creator><pubDate>Thu, 11 Jun 2009 07:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Thu, 11 Jun 2009 09:24:31 GMT]]></title><description><![CDATA[<p>Jup, das hab ich auch gelesen - aber hab hier XP SP2</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724942</guid><dc:creator><![CDATA[prompt]]></dc:creator><pubDate>Thu, 11 Jun 2009 09:24:31 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Verbindung&#x2F;-en killen on Thu, 11 Jun 2009 10:23:18 GMT]]></title><description><![CDATA[<p>prompt schrieb:</p>
<blockquote>
<p>Noch ne kleine Frage: Wenn ichs unter Admin Rechten ausführe, funktionierts - aber unter eingeschränkten Rechten erhalte ich &quot;ERR_NETWORK_ACCESS_DENIED&quot;. Was muss ich dem User für rechte geben, dass er die Funktion starten kann?</p>
</blockquote>
<p>admin-rechte. es ist doch allgemein bekannt, dass man unter windows *immer* mit admin-rechten arbeiten sollte, damit alles geht. ach ja, schau dir mal die funktionen 'ImpersonateLoggedOnUser' und 'LogonUser' an.<br />
<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>
]]></description><link>https://www.c-plusplus.net/forum/post/1724958</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724958</guid><dc:creator><![CDATA[+fricky]]></dc:creator><pubDate>Thu, 11 Jun 2009 10:23:18 GMT</pubDate></item></channel></rss>