best language to use for web-based socket programming?

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

jade03Author Commented:

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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.