Message-ID: <5N3JRL$XTT@newsmth.net>
Subject: Re: XP 系统下 TCP Server 能够接受多少连接?
Date: Thu, 03 Apr 2014 01:58:37 +0000
From: missdeer@newsmth.net-SPAM.no (卧薪尝胆的类库萤一)
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!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.ripco.com!feeder.erje.net!eu.feeder.erje.net!news.byr.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/m/M.1396490277.T0
Lines: 11
Xref: 74.82.202.154 cn.bbs.comp.network.programming:13474

作为server,只使用同一个端口,跟65535没关系
【 在 zhz (夜阑听雨) 的大作中提到: 】
: 我用MFC写了个 TCP Server ,运行在 XP 系统下,能同时接受多少个 TCP Client 连接
: ?
: 如果每个连接用一个socket,那是不是小于端口数 65535 ?
: ...................

--
C++, Qt, micro ISV


※ 来源:·水木社区 newsmth.net·[FROM: 211.160.178.*]