473,587 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Limit on Number of TCP/IP Connections

Hi..

I am writing a .NET server program that will run on
Windows 2000 (and maybe some day on Windows 2003). It
must allow thousands of people to be connected at one time.

I would like to verify that I can do this with TCP/IP
without running into some sort of limitation. I have
verified that I can create 10,000 localhost connections
using the TcpListener/TcpClient classes. (In order to get
this to work, I had to edit the MaxUserPort registry entry
as described in Microsoft Knowledge base article [except
that step 2 in the article has a bug because it is
truncated]).

I also noticed that memory consumption was only about 20
MB when the 10,000 localhost connections were going, so
memory consumption should be fine.

I would also like to verify that I can have 10,000 TCP/IP
connections that are outside the machine, e.g., not
localhost. Verifying this may be more difficult as I do
not have another Windows server available, and I have a
suspicion that Windows XP doesn't allow you to modify the
MaxUserPort entry.

So, can anyone provide any guidance about whether having
10,000 TCP/IP connections should be feasible in this case?
Andrew
Jul 19 '05 #1
1 3173
I have posted this question in
microsoft.publi c.dotnet.distri buted_apps, to see if it
gets a response there. This thread can be deleted from
dotnet.general as far as I am concerned.
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8946
by: Titus Cheung | last post by:
Hello, Thought I read somewhere saying that there is a limit to how many connections are available per mySQL account or something like that. Can someone please clarify? I wrote a PHP tool that uses a different PHP file whenever someone hit an HTML form button (ie Submit). It turned out that each one of these PHP files need to re-open...
7
4665
by: Vijai Kumar | last post by:
Hi, Is is possible to limit the UDB DB2 to use only 1 cpu on the 2 cpu server. Can you please provide me the steps or link where I could get the info. Thanks vijai
5
5000
by: Steve - DND | last post by:
How can I exceed the number of persistent connections allowed on a ServicePoint(which is 2 connections)? I believe this is the cause of the problems with my thread from earlier titled "Unable to write data to the transport connection & Timeout". After looking at the database, it appears there are time overlaps(from when a connection goes out...
4
10765
by: Bill | last post by:
Hi, I would be grateful if someone could clarify my rather confused ideas of the 10 connection limit on XP/2000 when its being used as a server. (I realise that XP is really a client op sys with limited server capability, I am also aware you can kludge the number to 40, but assume I do not want to do that). As I understand it XP Pro will...
1
10053
by: Simon | last post by:
Is there HTTP connection limit of 2 simultaneous connections in webservices? For example what hapens if you use webservices form ASP.NET web application? Presumably ASP.NET is webservices client to some remote server. Does that mean that the requests would be compete over those 2 connections? Is there a workaround for this? RFC 2068 8.1.4...
25
11263
by: Matt Kruse | last post by:
According to HTTP/1.1 specs, a client should only have two connections open to the host at a time (which can be changed by browser users, of course). When using xmlHttpRequest connections, is there any way to detect that the request is queued? I did some tests (see "Queued Requests" at http://www.ajaxtoolbox.com/request/examples.php ) and...
1
1781
by: Harold | last post by:
Hi, I'm writing software which should download some files. I want to limit the number of simultanioulsy downloads to two. I'm using the ServicePointManager object for this. But I still can download more then two files at the same time. When I use perfmon with the counter "Web service/current connections" the number of connection are more...
10
20478
by: Basel | last post by:
Hi All, I'm opening a number of threads, and each thread generates http requests using HttpWebRequest. How to make each thread open only 1 connection ? I tried to set a unique ConnectionGroupName for each thread, but after some time the number of connections exceeds the number of threads (I see more than thousand connection while only 100...
1
5928
by: jacobyte | last post by:
HI have a few questions regarding IIS5.1 and the the 10 connection limit, If anyone can help clarify this I would greatly appreciate any help. - this is the situation. We host a site on a win2k3 server and are currently teaming up with another company who have a network of windows xp machines across the country, each one of these boxes has IIS...
0
1504
by: vol30w60 | last post by:
Hi folks, I am having a problem using PHP to launch an application on the server. All the basics work, but I cannot launch more than 4 instances of the application. This application functions as a server itself, and I specify the port number when I launch it, so my theory is that I am reaching some limit on network connections. This is...
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.