Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Sending info via internet/network in C++ console apps
Closed Thread
Old 12-13-2006, 01:53 AM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 20

Chaosenemy

Send a message via Yahoo to Chaosenemy
Default Sending info via internet/network in C++ console apps

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?
Chaosenemy is offline  
Old 12-13-2006, 11:51 PM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

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".
jaeusm is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On