best language to use for web-based socket programming?

Posted on 2004-11-15
Last Modified: 2006-11-17
I'm trying to create a GUI that will connect to a socket and grab fields from a C or C++ server to display back to the user, and also be able to grab inputs from the user and send back to the server.

What is the best web-based language to implement this GUI in? The server will be on Apache...

any suggestions would be greatly appreciated.

Thank you.
Question by:jade03
    LVL 9

    Expert Comment

    If you're using Apache, your best bet is JSP.  If you don't wish to use JSP, try PHP.  Those are pretty much your easiest and most convinient options.


    Author Comment


    So JSP and PHP will both allow me to get access to C and C++ codes? Do you know where I can go to see some examples?
    LVL 9

    Accepted Solution

    If you could make a component of your C or C++ code, you can access it using PHP and JSP.  For samples on how to access external COM objects in PHP, visit this

    I am not an expert in JSP, but it should be just as simple as PHP and ASP to link to external COM objects.

    I think you might want to look into the two languages and find out which one will fit your needs.


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
    I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now