Solved

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

Posted on 1998-11-21
2
193 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
2 Comments
 
LVL 5

Expert Comment

by:scrapdog
ID: 1254540
0
 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now