Solved

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

Posted on 1998-11-21
2
196 Views
Last Modified: 2010-04-15
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
Comment
Question by:jjenkins
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
laeuchli earned 150 total points
ID: 1254541
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question