Sending info via internet/network in C++ console apps

Status
Not open for further replies.

Chaosenemy

Baseband Member
Messages
60
Yo, not sure if this is possible, but is there a way to send information to other computers in a simple C++ console application?

Example: Battling a friend over a LAN in a text-RPG.

Example 2: Messaging a friend over the internet in your program.

All done in a C++ console application in the command prompt. So... is any of this possible? If so, where do I start on learning how to put these features in my program?
 
Why C++? For the purposes you've described, I would use a language like Python or Java. C++ has no notion of networking, but, if you're determined to use that language, google "C++ socket programming".
 
Status
Not open for further replies.
Back
Top Bottom