Connection / programming theory question

Posted on 2011-04-28
Last Modified: 2012-05-11
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

Question by:bail3yz
    LVL 1

    Accepted 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.

    Author Comment

    Thanks.. thats all I wanted to know

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    This article will show, step by step, how to integrate R code into a R Sweave document
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now