Jump to content

Maximum number of simultaneous TCP connections?


Recommended Posts

I'm converting an existing application suite to LabVIEW - it needs to talk to existing systems so I cannot redesign from scratch.

Essentially I'm writing a bunch of "small" modules that establish TCP/IP sessions to each other, as required. If two of these modules are simultaneously running under one LabVIEW runtime, this uses up two TCP connections under the one Windows application. I'm finding that I'm quickly running out of connections within the LabVIEW runtime - at about 20, it seems.

I thought the limit was 1024, or some such large number. Please, what have I overlooked?

Thanks in advance.

Link to comment

Well, a hospital application I worked on had over a hundred connections during testing, so I know you shouldn't have a problem with 20.

By any chance are you making a connection between each of the modules to all the others? In that case each module will have 19 connections and 20 modules .... 20x19=380 connections. Thats quite a few. Depending on how you designed your software you may be causing LabVIEW to run so slowly (or to be hanging if you have race or dependency conditions) that you lock up or slow down so much it appears you are locked.

Have you tried 2 modules, then 3, then 4, etc...

In that case, where do you start to have problems?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.