delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/15/18:43:29

From: Richard Dawe <richdawe AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sun RPC for djgpp?
Date: Mon, 15 May 2000 19:13:41 +0100
Organization: Customer of Planet Online
Lines: 38
Message-ID: <39203E55.F221A9C8@bigfoot.com>
References: <39201D5E DOT 595121FB AT inti DOT gov DOT ar>
NNTP-Posting-Host: modem-221.silicon.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 958415200 22238 62.136.13.221 (15 May 2000 18:26:40 GMT)
NNTP-Posting-Date: 15 May 2000 18:26:40 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

salvador wrote:
> Anybody knows if a Sun RPC (Remote Procedure Call) is available for
> djgpp?

Not that I know of. You're the second person that I can remember asking
this question in several years. ;)

> If not: does anybody know how hard could be porting the library to
> djgpp using lib socket?

I'm not sure how hard it would be to port. I thought about porting the
Linux RPC package to DJGPP. I seem to remember that it had some daemon
programs that needed to be running (portmapper?). It's a bit hazy really
and I didn't go that far with it, because demand and time were limited.

With regards to libsocket, it should be OK, as long as it doesn't rely
heavily on socket options or MSG_* flags on recv(), recvfrom(). There are
some other irritating bugs that might get in the way.

BTW I hope to have libsocket 0.7.4 beta 4 out Real Soon Now (RSN). I'll
release binaries this time (there are no binaries of beta 3).

> I want to execute some simple task remotly (access to remote hardware
> ;-) and I want it to work with Linux and djgpp clients.

What kind of communication do you need with the remote rask? Is it just
starting the task or do you need bidirectional communication? Perhaps you
could write a Windows program to do the RPC and then use sockets to
communicate with it? That may be less work than porting Sun RPC to
DJGPP+libsocket.

I hope that is of some help. Bye,

-- 
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019