Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

Connection / programming theory question

Hi, simple question

I made a VB client that connects to 40 different servers for various things via winsock.. it uses 40 different ports (all in the 5000 range.. dont think they are used by anything else) .. 1 for each server

is this bad practice?  should I have set it up so it connects to 1 server that is connected to the other 40?  

its working fine.. everything works good.. just curious about the efficiency and if I am ever going to run into any problems with having too many outbound connections from 1 app

1 Solution
You should make sure that the ports are not used for anything else. As an usual practice, the ports should be reserved in \etc\services, especially if you are not the only one user using the machine. Apart from that, I don't see any issues.
bail3yzAuthor Commented:
Thanks.. thats all I wanted to know

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now