Thread: Rpcgen - where? how?

  1. #1
    He's trying.
    Join Date
    Apr 2005
    Location
    Missouri, US
    Posts
    70

    Rpcgen - where? how?

    http://www.cprogramming.com/tutorial...all_start.html

    That's a tutorial on RPC's - I'm interested, but don't really know where to start. It mentions "rpcgen" as a compiler, but I don't know how to find it, if it's part of dev-c++, a different utility, or what.

    Invoke the RPC compiler using "rpcgen llist.x"
    Am I just stupid? It doesn't list any #defines or such, so I'm sort of out there right now.

    Thanks.

  2. #2
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152
    rpcgen is a stub generator.

    You describe your server services in the .x file. Then you call at your console (under Linux, donīt ask me in Windows): $rpcgen llist.x

    It will generate two .c files and two .h files, if I am not mistaken. There is one .c and one .h for the server and the same for the client. The server and the client must include this new generated .h file. They must be compiled and linked with their respective .c file. Hope that helps.

  3. #3
    He's trying.
    Join Date
    Apr 2005
    Location
    Missouri, US
    Posts
    70
    Eek. I found out (after more, more, more searching) that you can just call "rpcgen" (as you said) in Linux which I guess is what (s)he's referring to...But I'm on Windows, so is there anyway to do something like that with a special compiler or something?

    Thanks either way, though, Mortissus.
    Last edited by Nazca; 04-30-2005 at 08:47 PM.

  4. #4
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152
    I donīt know, sorry!

    Windows is so much complicated!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. rpcgen problem
    By fnoyan in forum Linux Programming
    Replies: 1
    Last Post: 05-27-2006, 06:49 AM