• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

info/tutorial on RPCs or other networking API...

Here's my problem.  

I need to develop a very simple game.  The concept is basic.  There are three players, the earth and two aliens, they all get to shoot at each other and allocate firepower and sheilds.  The good part is that I dont have to use any graphics whatsoever.  I can do the whole thing in a DOS console and that's exactly what I plan to do.
printf("You've been hit for %d pts of damage!!!\n", d);

.....So all I need is a SIMPLE way to share information across my network.  If I could find an easy way to access data structures on another machine I would be in business.

My problem:
I dont have a lot of time to learn all the intracacies of accessing packets, and setting up a lot of low level packet driver type of stuff, and even if I did, our school's network administrator wouldn't let us manipulate any of the drivers (or anything else for that matter) on any of the machines (which all run NT, BTW.)

What I need is a SIMPLE, easy to use way to access data off of a primary server, and a good tutorial / documentation to show me some good examples of how I could get a network type application / game up and running on 3 NT machines.  

I have tried using RPCs and while this seems to be my best bet, I cannot make heads or tails of any of the examples included with MSVC++ 5.0 as they dont seem to be made for someone who has never seen an RPC before.

I would appreciate ANY help anyone could give me,


thanks in advance,

John Jenkins
forum newbie
0
jjenkins
Asked:
jjenkins
1 Solution
 
laeuchliCommented:
I don''t think RPC is your best bet for writing a game. I think using sockets would be much easier for you. They have quite good examples on your online help but if you need more post here.

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

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now