Solved

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

Posted on 1998-11-21
2
192 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
Comment Utility
0
 
LVL 5

Accepted Solution

by:
laeuchli earned 150 total points
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

762 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

6 Experts available now in Live!

Get 1:1 Help Now