how many no of tcp connections can be made at a time | Bytes (2024)

Home Posts Topics Members FAQ

curiousdeveloper

how many no of tcp connections can be made at a time | Bytes (1) 1 New Member

Hi All,
I am developing application in C++ in Windows and Linux (both).

I am using TCP connections in my application. In my application, i want to make variable no of connections as per user requests. So, how can i come to know No of idle TCP connections (descriptors) can be done ?

Is there any limitation on No of TCP connections at the same time concurrently ?

How can i come to know that No of idle TCP connections are over and can give ERROR to user?

Regards,
Chirag Shah

Jan 27 '10 #1

Subscribe Reply

0 how many no of tcp connections can be made at a time | Bytes (2) 1287 how many no of tcp connections can be made at a time | Bytes (3)

Sign in to post your reply or Sign up for a free account.

Similar topics

3 2413

Question about database connections

by: Mudge |last post by:

Hi, My hosting provider only allows me to use 50 connections to my MySQL database that my Web site will use. I don't know what this 50 connections means exactly. Does this mean that only 50 visitors to my Web site can access my database through my Web site at one time? Or does this mean that in my code I can only use 50 connections? and like

PHP

4 1204

Handling Connections in ASP.NET

by: yop |last post by:

Lads Am using ASP.NET, Framework 1.1 Creating a web application to read details from a MYSQL database. Am using the dbProvider to create connection to the DB. I am having a lot of issues with connection pooling etc. Also of late getting an error, "Could not initiate communication with the server" which is strange.

ASP.NET

2 2125

# of pooled connections seem too high

by: Bob |last post by:

We have a production web site that's data intensive (save user input to DB and query for displaying) with the ASP.NET app part on one W2K server and SQL 2000 DB on another W2K server. I have set up performance logs to log # of pooled database connections on the web server every 60 seconds (.NET CLR Data(_global_)\SqlClient: Current # pooled connections). The # of connections is constantly higher than the # of active ASP.NET sessions....

ASP.NET

14 4824

ConnectionState problem - managing connections to an Access database

by: Nick Gilbert |last post by:

Hi, I have an asp.net application which runs from a CD-ROM using Cassini. As such, it is single user only. The application connects to an Access database when it is loaded, and keeps the same connection open all the time (as it's single user, this shouldn't be a problem). There is logic in the code to ensure that the connection is

ASP.NET

2 2835

TcpClient or TCP/IP Connections

by: Mythran |last post by:

I am quite familiar with C/C++ network handling on *nux boxes and it's blocking/non-blocking I/O. What I need to do in VB.Net is very similar. I need to take a single server application and allow up to 500 users to connect to this application remotely using TCP/IP. Once a connection has been made, it must process data every few milliseconds and check all connections (one at a time or through an event somehow) for user-entered text. ...

Visual Basic .NET

17 8451

crystal reports unreleased connections

by: Peter Proost |last post by:

Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're using crystal reports 9 and vb.net and we're using the crystalrepotViewer to show our reports. But every time we open a report the connection to or sql server remains, so if I open 5 forms with the report viewer I've got 5 sleeping connections in...

Visual Basic .NET

5 2089

C# not closing database connections(?)

by: MarkusJNZ |last post by:

Hi all, I have just inherited a framework written in C# which is used to store objects into a database via ADO.NET. When I did a bulk insert the database started to run slow I logged into MSSQL enterprise manager and looked at the running processes under Management-->Current activity-->Process Info. The resulting screen shot is shown below (sorry about the popups from the image hosting page!)

C# / C Sharp

6 4360

Webservice not releasing SQL connections

by: Steve Ricketts |last post by:

I have a webservice written in VB.net that opens a connection to SQL Server 2000 with a connection string. The connection remains open for the life of the web service so the ADODB.connection is defined as public and used by a single subroutine, SQLexecute. All recordset definitions are defined in the individual subroutines and destroyed before exit of the subroutine. I would expect only one connection to be made to the SQL Server but...

.NET Framework

1 1700

Only 2 Http Concurrent Connections, Server to Server, .NET

by: Jay Douglas |last post by:

Sorry for the cross post but I was hoping between developers and systems ppl I can get answer to this question. I've searched; found issues similar to mine but the solutions are not working. My situation: I have an ASP.net web app running on Server 2003 (Server 1) that calls a service on a different Server 2003 (Server 2) via HTTP. Problem:

.NET Framework

4 2217

pass socket resource to second script (socket connections)

by: ratcateme |last post by:

i want to create a php script that will listen and accept connections on a port then pass the connection onto another script to keep the main script just handling incoming connections and not being tied up until the connection ends. i have made a script that listens on port 9000 and waits until a connection is received then it will do stuff. the only problem with this is that it can only have on connection at a time and i need multiple...

PHP

9553

What is ONU?

by: marktang |last post by:

ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...

General

9373

Changing the language in Windows 10

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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...

Windows Server

10136

Problem With Comparison Operator <=> in G++

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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...

C / C++

1 9923

The easy way to turn off automatic updates for Windows 10/11

by: Hystou |last post by:

Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...

Windows Server

9810

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

1 7357

Access Europe - Using VBA to create a class based on a table - Wed 1 May

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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...

Microsoft Access / VBA

6640

Couldn’t get equations in html when convert word .docx file to html file in C#.

by: conductexam |last post by:

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

C# / C Sharp

1 3911

transfer the data from one system to another through ip address

by: 6302768590 |last post by:

Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

C# / C Sharp

3 3507

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

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

To disable or enable advertisem*nts and analytics tracking please visit the page.

how many no of tcp connections can be made at a time | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 6458

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.