Solved

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

Posted on 1998-11-21
2
195 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

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

Technology Partners: 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

Suggested Solutions

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
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 pointers 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.

726 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