Hello. I'm developing a game in c++ and have found that you almost have to be Bill Gates to figure out how to connect to the internet using c++.

So I've taken the idea that I should create the first section of my game in Java. This section would open up, download a few files off a website, close, then open up the main game. Is there an easy way to do this?

Thanks alot in advance.

Recommended Answers

All 2 Replies

Well you may use java.net package classes (URL,URI) and JSSE - Java Secure Socket Extension classes.

IMO you are just over complicating things. . it isn't wise to use two tools, in this case programming languages, unless one offers features or some advantage that the other doesn't. I'd go to the C++ forum and get help with connecting to the internet rather than trying to use both Java and C++ here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.