<?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[WSACleanup, WSAStartup in Klasse möglich]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ist es möglich die WSAStartup() in den Konstrucktor und WSACleanup() im Destruktor einer Klasse zu verwenden.</p>
<p>die Frage ziehlt daruaf hinaus was passiert wenn zwir instanzen der Klasse erzeugt werden und danach eine wieder zerstört wird. Funktionieren die Socket funktionen dann noch?</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/226659/wsacleanup-wsastartup-in-klasse-möglich</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 10:54:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/226659.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Nov 2008 12:56:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WSACleanup, WSAStartup in Klasse möglich on Tue, 04 Nov 2008 12:56:30 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ist es möglich die WSAStartup() in den Konstrucktor und WSACleanup() im Destruktor einer Klasse zu verwenden.</p>
<p>die Frage ziehlt daruaf hinaus was passiert wenn zwir instanzen der Klasse erzeugt werden und danach eine wieder zerstört wird. Funktionieren die Socket funktionen dann noch?</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1609969</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1609969</guid><dc:creator><![CDATA[Destiniy]]></dc:creator><pubDate>Tue, 04 Nov 2008 12:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to WSACleanup, WSAStartup in Klasse möglich on Tue, 04 Nov 2008 13:06:39 GMT]]></title><description><![CDATA[<p>Steht in der Doku von WSAStartup<br />
<a href="http://msdn.microsoft.com/en-us/library/ms742213(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms742213(VS.85).aspx</a></p>
<blockquote>
<p>An application must call the WSACleanup function for every successful time the WSAStartup function is called. This means, for example, that if an application calls WSAStartup three times, it must call WSACleanup three times. The first two calls to WSACleanup do nothing except decrement an internal counter; the final WSACleanup call for the task does all necessary resource deallocation for the task.</p>
</blockquote>
<p>und WSACleanup<br />
<a href="http://msdn.microsoft.com/en-us/library/ms741549(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms741549(VS.85).aspx</a></p>
<blockquote>
<p>There must be a call to WSACleanup for each successful call to WSAStartup. Only the final WSACleanup function call performs the actual cleanup. The preceding calls simply decrement an internal reference count in the WS2_32.DLL.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1609980</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1609980</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 04 Nov 2008 13:06:39 GMT</pubDate></item><item><title><![CDATA[Reply to WSACleanup, WSAStartup in Klasse möglich on Tue, 04 Nov 2008 13:10:58 GMT]]></title><description><![CDATA[<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1609983</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1609983</guid><dc:creator><![CDATA[Destiniy]]></dc:creator><pubDate>Tue, 04 Nov 2008 13:10:58 GMT</pubDate></item></channel></rss>