<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/roen" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/roen" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 18 Jun 2007 12:10:00 GMT</lastBuildDate><title>roen的专栏</title><link>http://blog.csdn.net/roen/</link><item><title>用完成端口开发大响应规模的Winsock应用程序</title><link>http://blog.csdn.net/roen/archive/2007/06/18/1656371.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1656371.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1656371.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1656371</trackback:ping><description>通常要开发网络应用程序并不是一件轻松的事情，不过，实际上只要掌握几个关键的原则也就可以了——创建和连接一个套接字，尝试进行连接，然后收发数据。真正难的是要写出一个可以接纳少则一个，多则数千个连接的网络应用程序。本文将讨论如何通过Winsock2在Windows NT 和 Windows 2000上开发高扩展能力的Winsock应用程序。文章主要的焦点在客户机/服务器模型的服务器这一方，当然，其中的许多要点对模型的双方都适用。 
&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1656371.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 18 Jun 2007 20:10:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/06/18/1656371.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/06/18/1656371.aspx</guid><dc:creator>roen</dc:creator></item><item><title>Windows系统编程之异步I/O和完成端口</title><link>http://blog.csdn.net/roen/archive/2007/03/23/1538736.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1538736.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1538736.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1538736</trackback:ping><description>一、  同步I/O和异步I/O

在介绍这部分内容之前先来认识下“异步I/O”。
  说起异步IO，很容易联想到同步I/O，对于同一个I/O对象句柄在同一时刻只允许一个I/O操作&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1538736.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 23 Mar 2007 22:25:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/23/1538736.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/23/1538736.aspx</guid><dc:creator>roen</dc:creator></item><item><title>纵横捭阖C++之从异步谈起</title><link>http://blog.csdn.net/roen/archive/2007/03/23/1538732.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1538732.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1538732.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1538732</trackback:ping><description>一般来说，简单的异步（Asynchronous）调用是这样一种调用方式：发起者请求一个异步调用，通知执行者，然后处理其他工作，在某一个同步点等待执行者的完成；把这个异步调用的过程再抽象和扩展一些，我们可以把异步调用需要解决的问题归结为两个：一个是执行的动力，另一个是主动对象的调度。如前所述，异步调用主要需要解决两个问题：执行的动力和执行的调度。显然，并发执行中的一个线程对于另外一个线程来说，本质上就是异步的，假如它们之间有调用关系，那也就是一个异步调用。&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1538732.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 23 Mar 2007 22:24:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/23/1538732.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/23/1538732.aspx</guid><dc:creator>roen</dc:creator></item><item><title>C10K问题</title><link>http://blog.csdn.net/roen/archive/2007/03/22/1537545.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1537545.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1537545.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1537545</trackback:ping><description>编写连接数巨大的高负载服务器程序时，经典的多线程模式和select模式都不再适用。网络服务在处理数以万计的客户端连接时，往往出现效率低下甚至完全瘫痪，这被称为 C10K问题。随着互联网的迅速发展，越来越多的网络服务开始面临C10K问题，作为大型 网站的开发人员有必要对C10K问题有一定的了解。&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1537545.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 22 Mar 2007 22:38:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/22/1537545.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/22/1537545.aspx</guid><dc:creator>roen</dc:creator></item><item><title>使用epoll进行高性能网络编程</title><link>http://blog.csdn.net/roen/archive/2007/03/22/1537330.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1537330.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1537330.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1537330</trackback:ping><description>眼下的工作是分析不同的方法，这些方法都是用来实现从内核模式高效传递网络事件到用户模式。我们考察了五种方法：作为一种相对较好的老的方法poll ，标准/dev/poll接口，标准RT信号，RT signals with one-sig-per-fd patch，和使用很特别的通知方法的新式/dev/epoll。工作有如下四部分组成： &lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1537330.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 22 Mar 2007 19:52:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/22/1537330.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/22/1537330.aspx</guid><dc:creator>roen</dc:creator></item><item><title>Linux2.6内核epoll介绍(0.1版本)</title><link>http://blog.csdn.net/roen/archive/2007/03/21/1536148.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1536148.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1536148.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1536148</trackback:ping><description>比如卷2 讲解的是4.4BSD内核TCP/IP协议栈实现----这个版本的协议栈几乎影响了现在所有的主流os，但是因为年代久远，内容不一定那么vogue. 在这里我多推荐一本《The Linux Networking Architecture--Design and Implementation of Network Protocols in the Linux Kernel》，以2.4内核讲解Linux TCP/IP实现，相当不错.作为一个现实世界中的实现，很多时候你必须作很多权衡，这时候参考一个久经考验的系统更有实际意义。在linux 平台上，关于网络AIO一直是改动最多的地方，2.4的年代就有很多AIO内核patch,最著名的应该算是SGI那个。&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1536148.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 21 Mar 2007 19:44:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/21/1536148.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/21/1536148.aspx</guid><dc:creator>roen</dc:creator></item><item><title>关于网络编程（服务端）的一些笔记</title><link>http://blog.csdn.net/roen/archive/2007/03/20/1535637.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1535637.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1535637.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1535637</trackback:ping><description>针对服务器处理网络连接的几种方式，unix网络编程里给出了９种方案，并且对服务器进程／线程的开销做了一个量化的比较。&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1535637.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 21 Mar 2007 06:45:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/20/1535637.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/20/1535637.aspx</guid><dc:creator>roen</dc:creator></item><item><title>完成端口与高性能服务器程序开发</title><link>http://blog.csdn.net/roen/archive/2007/03/19/1533378.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1533378.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1533378.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1533378</trackback:ping><description>当对ClientA的重叠写操作已经完成,ThreadA(也可以是ThreadB)又被激活它关闭与ClientA连接,但还没有回到线程池,与此同时发送给ClientB的重叠写操作也完成,ThreadB被激活(因为ThreadA还没有回到线程池)它关闭与ClientB的连接,然后回到线程池,这时ClientC的写操作也完成,ThreadB再次被激活(因为ThreadA还是没有回到线程池),它再关闭与ClientC的连接,这时ThreadA回到线程池,ThreadB也回到线程池.这时对三个客户端的服务全部完成.可以看到在整个服务过程中,&quot;建立连接&quot;,&quot;读数据&quot;,&quot;写数据&quot;和&quot;关闭连接&quot;等操作是逻辑上连续而实际上分开的.&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1533378.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 19 Mar 2007 18:44:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/19/1533378.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/19/1533378.aspx</guid><dc:creator>roen</dc:creator></item><item><title>Windows完成端口编程 - [ Winsock ]</title><link>http://blog.csdn.net/roen/archive/2007/03/16/1531551.aspx</link><wfw:comment>http://blog.csdn.net/roen/comments/1531551.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/roen/comments/commentRss/1531551.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1531551</trackback:ping><description>Windows完成端口编程
目录
一 基本概念
二 OVERLAPPED数据结构
三 完成端口的内部机制
创建完成端口
完成端口线程的工作原理
线程间数据传递
线程的安全退出&lt;img src =&quot;http://blog.csdn.net/roen/aggbug/1531551.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 17 Mar 2007 01:34:00 +0800</pubDate><author>roen</author><comments>http://blog.csdn.net/roen/archive/2007/03/16/1531551.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/roen/archive/2007/03/16/1531551.aspx</guid><dc:creator>roen</dc:creator></item></channel></rss>