Message-ID: <5LlK06$Yvw@newsmth.net>
Subject: Re: [问题]socket编程,关于I/O复用中select和poll
Date: Sun, 26 Jan 2014 12:48:06 +0000
From: AnneSun@newsmth.net-SPAM.no (AnneSun)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.network.programming.20141003.mbox.gz!backlog2.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!border1.nntp.hkg.giganews.com!news.netfront.net!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.newsmth.net!NEWSMTH
Newsgroups: cn.bbs.comp.network.programming
Organization: 水木社区
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: NetPRG/p/M.1390740486.n0
Lines: 13
Xref: 74.82.202.154 cn.bbs.comp.network.programming:13394

哦,谢谢哈!

刚才查了一下,貌似select和poll速度都挺慢的。
http://daniel.haxx.se/docs/poll-vs-select.html

回头再看看epoll和kqueue

【 在 Orpherus 的大作中提到: 】
: 在这个事情上,server用什么跟client用什么,毫无关系
: 

--

※ 来源:·水木社区 http://www.newsmth.net·[FROM: 124.126.245.*]