Help: DotNet Tcp Client/Server (转载)# Programming - 葵花宝典
o*f
1 楼
【 以下文字转载自 DotNet 讨论区 】
发信人: ospf (我是帅哥我怕谁), 信区: DotNet
标 题: Help: DotNet Tcp Client/Server
发信站: BBS 未名空间站 (Mon Nov 14 18:33:52 2005)
Hi All,
I am using a TCP server to be a non-blocking
server for n TCP clients (with Socket.Select()).
My problem is the number of n is limited to be < 65
when I bring up those clients one at a time with
10 seconds interval time between two adjacent
clients. Otherwise, the Socket.Select
will throw an "Index was outside the bounds of the
array" exception.
I tried S
发信人: ospf (我是帅哥我怕谁), 信区: DotNet
标 题: Help: DotNet Tcp Client/Server
发信站: BBS 未名空间站 (Mon Nov 14 18:33:52 2005)
Hi All,
I am using a TCP server to be a non-blocking
server for n TCP clients (with Socket.Select()).
My problem is the number of n is limited to be < 65
when I bring up those clients one at a time with
10 seconds interval time between two adjacent
clients. Otherwise, the Socket.Select
will throw an "Index was outside the bounds of the
array" exception.
I tried S