﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-Gift For Myself-随笔分类-日志</title><link>http://www.cppblog.com/fproject/category/12806.html</link><description>&lt;!--Everett F Project--&gt;</description><language>zh-cn</language><lastBuildDate>Wed, 05 May 2010 09:19:30 GMT</lastBuildDate><pubDate>Wed, 05 May 2010 09:19:30 GMT</pubDate><ttl>60</ttl><item><title>使用阻塞send发送大量数据时，会因为缓冲区不够，需要等待一段时间</title><link>http://www.cppblog.com/fproject/archive/2010/05/04/114389.html</link><dc:creator>EverettJF</dc:creator><author>EverettJF</author><pubDate>Tue, 04 May 2010 15:27:00 GMT</pubDate><guid>http://www.cppblog.com/fproject/archive/2010/05/04/114389.html</guid><wfw:comment>http://www.cppblog.com/fproject/comments/114389.html</wfw:comment><comments>http://www.cppblog.com/fproject/archive/2010/05/04/114389.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/fproject/comments/commentRss/114389.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/fproject/services/trackbacks/114389.html</trackback:ping><description><![CDATA[<a href="http://social.msdn.microsoft.com/Forums/zh-TW/vcgeneral/thread/0a6ea0e5-9969-4924-9d3e-cbbf5b42438e">http://social.msdn.microsoft.com/Forums/zh-TW/vcgeneral/thread/0a6ea0e5-9969-4924-9d3e-cbbf5b42438e</a><br><br><br>
<div class=body><span style="FONT-SIZE: x-small"><font size=1>10035 is WSAEWOULDBLOCK, which is a normal occurence in sockets.&nbsp; For example, the receiving end may be busy or its buffers may be full and this mechanism is intended to make you (the sender) wait a while before sending more.&nbsp; It is a speed limiter.<br><br>When WSAEWOULDBLOCK happens you&nbsp;might have sent some bytes.&nbsp; So first update your m_nTotalBytesSend.&nbsp; Then&nbsp;you need to&nbsp;return from this OnSend function. Of course, all of your counters and partially-sent buffers will have to be member variables so you don't lose them when you return.&nbsp; <br><br>Later, OnSend will be called again (when the receiving end is ready) and you then can resume sending until you are done or another WSAEWOULDBLOCK occurs.</font><br><br></span></div>
<br><br>
<img src ="http://www.cppblog.com/fproject/aggbug/114389.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/fproject/" target="_blank">EverettJF</a> 2010-05-04 23:27 <a href="http://www.cppblog.com/fproject/archive/2010/05/04/114389.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>为每个ClientEntry对象添加一个递增的id</title><link>http://www.cppblog.com/fproject/archive/2010/04/08/111961.html</link><dc:creator>EverettJF</dc:creator><author>EverettJF</author><pubDate>Thu, 08 Apr 2010 07:02:00 GMT</pubDate><guid>http://www.cppblog.com/fproject/archive/2010/04/08/111961.html</guid><wfw:comment>http://www.cppblog.com/fproject/comments/111961.html</wfw:comment><comments>http://www.cppblog.com/fproject/archive/2010/04/08/111961.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/fproject/comments/commentRss/111961.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/fproject/services/trackbacks/111961.html</trackback:ping><description><![CDATA[为每个ClientEntry对象添加一个递增的id，保证一个有序的顺序，在查找时可以采用二分法查找客户 
<img src ="http://www.cppblog.com/fproject/aggbug/111961.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/fproject/" target="_blank">EverettJF</a> 2010-04-08 15:02 <a href="http://www.cppblog.com/fproject/archive/2010/04/08/111961.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>1月11号之前，……………………</title><link>http://www.cppblog.com/fproject/archive/2010/01/11/105457.html</link><dc:creator>EverettJF</dc:creator><author>EverettJF</author><pubDate>Mon, 11 Jan 2010 15:10:00 GMT</pubDate><guid>http://www.cppblog.com/fproject/archive/2010/01/11/105457.html</guid><wfw:comment>http://www.cppblog.com/fproject/comments/105457.html</wfw:comment><comments>http://www.cppblog.com/fproject/archive/2010/01/11/105457.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cppblog.com/fproject/comments/commentRss/105457.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/fproject/services/trackbacks/105457.html</trackback:ping><description><![CDATA[<p><font style="BACKGROUND-COLOR: #fbfccb">1、09年9月份就开始有的想法，制定出了初步项目计划、基本文档；<br>2、中间一度由于种种原因被推迟，或是因为自己决心不够，或是因为能力有限，或是因为考虑的功能太多，迟迟不知如何下手，起步困难；<br>3、09年11月份作为毕业设计，由实验报告管理系统更名为实验室管理系统，构思更加完善，并开始各种准备；<br>4、11月下旬到年底一直处于应聘阶段，未能顾及此项目；<br>5、2010年1月份开始，公司实习，书籍也做了相应准备，各项准备逐渐完善，制定出了更详细的项目实现步骤；<br>6、开始完善设计并编码&#8230;&#8230;<br></font></p>
<img src ="http://www.cppblog.com/fproject/aggbug/105457.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/fproject/" target="_blank">EverettJF</a> 2010-01-11 23:10 <a href="http://www.cppblog.com/fproject/archive/2010/01/11/105457.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>