<?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[nonblocking sockets melden wsaewoudblock]]></title><description><![CDATA[<p>ich hab mir nen socket angelegt, der ist nodelay mit nem wsaevent auf error | recv | close er ist also ist der socket nonblocking, schön und gut ich habe mich verbunden, und sende meine daten mit send, returnwert stimmt mit zu sendenden bytes überein blabla...</p>
<p>wenn ich jedoch das handle abfrage und recv mache kommt permanent return socketerror und auf getlasterror() kommt wsaewouldblock trotz das daten anliegen (ich kontrolliere das mit etheral)<br />
ich bin steh jetzt irgendwie aufm schlauch, hab ich eventuell ne option vergessen oder was falsch gesetzt ?</p>
<p>der socket ist auch nicht mehrfach offen und wird auch vorher nicht zurückgesetzt, es ist derselbe socket den aich auch zum senden verwende</p>
<p>thx im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192256/nonblocking-sockets-melden-wsaewoudblock</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 00:31:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192256.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Sep 2007 10:10:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 10:10:36 GMT]]></title><description><![CDATA[<p>ich hab mir nen socket angelegt, der ist nodelay mit nem wsaevent auf error | recv | close er ist also ist der socket nonblocking, schön und gut ich habe mich verbunden, und sende meine daten mit send, returnwert stimmt mit zu sendenden bytes überein blabla...</p>
<p>wenn ich jedoch das handle abfrage und recv mache kommt permanent return socketerror und auf getlasterror() kommt wsaewouldblock trotz das daten anliegen (ich kontrolliere das mit etheral)<br />
ich bin steh jetzt irgendwie aufm schlauch, hab ich eventuell ne option vergessen oder was falsch gesetzt ?</p>
<p>der socket ist auch nicht mehrfach offen und wird auch vorher nicht zurückgesetzt, es ist derselbe socket den aich auch zum senden verwende</p>
<p>thx im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363905</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363905</guid><dc:creator><![CDATA[Ceos]]></dc:creator><pubDate>Wed, 12 Sep 2007 10:10:36 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 11:04:34 GMT]]></title><description><![CDATA[<p>Dass ich mich direkt mit den Win32-API sockets befasst habe ist lange her, ich glaube aber, dass das normal ist. Näheres findest du bestimmt hier. <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="😉"
    /><br />
<a href="http://search.msdn.microsoft.com/search/Default.aspx?query=wsaewouldblock&amp;brand=msdn&amp;locale=en-us&amp;refinement=00&amp;lang=en-us" rel="nofollow">http://search.msdn.microsoft.com/search/Default.aspx?query=wsaewouldblock&amp;brand=msdn&amp;locale=en-us&amp;refinement=00&amp;lang=en-us</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363922</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 12 Sep 2007 11:04:34 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 11:10:13 GMT]]></title><description><![CDATA[<p>das ist definitiv nicht normal und da hab cih auch schon gesucht, ich hab echt n problem. by the way windows XP wird verwendet</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363925</guid><dc:creator><![CDATA[Ceos]]></dc:creator><pubDate>Wed, 12 Sep 2007 11:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 11:28:49 GMT]]></title><description><![CDATA[<p>wsaewouldblock beim recv() heißt doch einfach nur, dass im Moment nicht genug Daten im Empfangsbuffer liegen und der Aufruf blockierend sein müsste, um keinen Fehler zurückzuliefern.<br />
<a href="http://msdn2.microsoft.com/en-us/library/ms740121.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms740121.aspx</a></p>
<p>Etheral kann nicht wissen, was Windows mit den Sockets macht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363940</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363940</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 12 Sep 2007 11:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 11:48:23 GMT]]></title><description><![CDATA[<p>ja schon aber es sind DEFINITIV (geprüft mit etheral)genug daten da, das isses was mich so fertig macht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363959</guid><dc:creator><![CDATA[Ceos]]></dc:creator><pubDate>Wed, 12 Sep 2007 11:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 12:02:18 GMT]]></title><description><![CDATA[<p>ok problem gelöst, des rätsels lösung hab ich zwar nicht gefunden aber cih habe einfach das setsockopt(nodelay) VOR das connect gestellt. jetzt klappt es bis auf ein paar signalausreisser ganz gut</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363966</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363966</guid><dc:creator><![CDATA[Ceos]]></dc:creator><pubDate>Wed, 12 Sep 2007 12:02:18 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Wed, 12 Sep 2007 12:54:05 GMT]]></title><description><![CDATA[<p>Naja das hört sich wieder mal nach einer äußerst schrägen Lösung an. Leute, nehmt euch einfach mal die 5 Minuten Zeit und lest die paar Seiten auf der MSDN durch. Dann müsst ihr nicht irgendwelche komischen Behelfslösungen zusammenbasteln, die euch dann später nur wieder Probleme machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363995</guid><dc:creator><![CDATA[tenchou]]></dc:creator><pubDate>Wed, 12 Sep 2007 12:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Fri, 14 Sep 2007 13:53:06 GMT]]></title><description><![CDATA[<p>warte doch einfach mit select/WSASelect bis Daten anliegen und schau mit ioctlsocket wie viele Daten da sind und hohle diese dann einfach ab</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1365297</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1365297</guid><dc:creator><![CDATA[ScriptGod]]></dc:creator><pubDate>Fri, 14 Sep 2007 13:53:06 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Fri, 14 Sep 2007 14:33:58 GMT]]></title><description><![CDATA[<blockquote>
<p>schau mit ioctlsocket wie viele Daten da sind</p>
</blockquote>
<p>das hört sich wieder mal nach einer äußerst schrägen Lösung an</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1365320</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1365320</guid><dc:creator><![CDATA[tens]]></dc:creator><pubDate>Fri, 14 Sep 2007 14:33:58 GMT</pubDate></item><item><title><![CDATA[Reply to nonblocking sockets melden wsaewoudblock on Sat, 15 Sep 2007 15:37:15 GMT]]></title><description><![CDATA[<p>wenn man das benutzen einer API als schräg bezeichnet, dann ja <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>
<blockquote>
<p>FIONREAD</p>
<p>Use to determine the amount of data pending in the network's input buffer that can be read from socket s. The argp parameter points to an unsigned long value in which ioctlsocket stores the result. FIONREAD returns the amount of data that can be read in a single call to the recv function, which may not be the same as the total amount of data queued on the socket. If s is message oriented (for example, type SOCK_DGRAM), FIONREAD still returns the amount of pending data in the network buffer, however, the amount that can actually be read in a single call to the recv function is limited to the data size written in the send or sendto function call.</p>
</blockquote>
<p><a href="http://msdn2.microsoft.com/en-us/library/ms738573.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms738573.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1365952</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1365952</guid><dc:creator><![CDATA[ScriptGod]]></dc:creator><pubDate>Sat, 15 Sep 2007 15:37:15 GMT</pubDate></item></channel></rss>