<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2313200</guid>
        <pubDate>Thu, 16 Jul 2009 10:28:08 +0000</pubDate>
        <title>recv POP3</title>
        <link>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2313200</link>
        <description><![CDATA[Alexandoros: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>If you use the pointer returned by GetBuffer to change the string contents, you must <strong class='tag-b'>call ReleaseBuffer</strong> before using any other CSimpleStringT member methods.</div></div>]]></description>
        <author>Alexandoros</author>
        <category>C/C++: Сетевое программирование</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2313153</guid>
        <pubDate>Thu, 16 Jul 2009 09:52:53 +0000</pubDate>
        <title>recv POP3</title>
        <link>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2313153</link>
        <description><![CDATA[vtg: А почему, тогда, так<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">CString szUser, szBuffer;</div><div class="code_line">.</div><div class="code_line">.</div><div class="code_line">.</div><div class="code_line">szUser=_T(&quot;USER XXXXXX@mail.ru&quot;);</div><div class="code_line">send(hSocket, (const char *)szUser.GetBuffer(), szUser.GetLength(), 0);</div><div class="code_line">int dwRet = recv(hSocket, (char *)szBuffer.GetBuffer(256), 256,0);</div><div class="code_line">MessageBox(0, szBuffer.GetBuffer(), 0,MB_OK);</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
MessageBox показывает то же?]]></description>
        <author>vtg</author>
        <category>C/C++: Сетевое программирование</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2308993</guid>
        <pubDate>Fri, 10 Jul 2009 20:53:34 +0000</pubDate>
        <title>recv POP3</title>
        <link>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2308993</link>
        <description><![CDATA[Алексей_Л: szBuffer нигде не инициализируется, ты же recv&#39;ом в pBuffer пишешь, а в MessageBox() отображаешь szBuffer&#33;<br><br>P.S. Полезный совет: не мешай MFC-строки с си-строками, где это не нужно, это и привело к путанице]]></description>
        <author>Алексей_Л</author>
        <category>C/C++: Сетевое программирование</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2308801</guid>
        <pubDate>Fri, 10 Jul 2009 14:41:55 +0000</pubDate>
        <title>recv POP3</title>
        <link>https://forum.sources.ru/index.php?showtopic=276763&amp;view=findpost&amp;p=2308801</link>
        <description><![CDATA[vtg: Почему после работы следующего кода MessageBox показывает кракозяблики?<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">CString szUser, szBuffer;</div><div class="code_line">.</div><div class="code_line">.</div><div class="code_line">.</div><div class="code_line">szUser=_T(&quot;USER XXXXXX@mail.ru&quot;);</div><div class="code_line">const TCHAR* pUser = szUser.GetBuffer();</div><div class="code_line">send(hSocket, (const char *)pUser, szUser.GetLength(), 0);</div><div class="code_line">TCHAR* pBuffer = szBuffer.GetBuffer(256);</div><div class="code_line">int dwRet = recv(hSocket, (char *)pBuffer, 256,0);</div><div class="code_line">MessageBox(0, szBuffer.GetBuffer(), 0,MB_OK);</div></ol></div></div></div></div>]]></description>
        <author>vtg</author>
        <category>C/C++: Сетевое программирование</category>
      </item>
	
      </channel>
      </rss>
	