Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Passing time values using DCE RPC?
@ 1994-03-15 15:23 Brad Daniels
  1994-03-16  3:24 ` Rich Salz
  0 siblings, 1 reply; 3+ messages in thread
From: Brad Daniels @ 1994-03-15 15:23 UTC (permalink / raw)


I somehow accidentally posted this message to comp.unix.osf.osf1 yesterday,
when I meant to post it here:

I've run into some nasty difficulties trying to pass time values between
VMS and OSF/1 using DCE RPC.  I want to pass the time in UTC, since the
two machines involved may be in different timezones.  I couldn't find
any RPC time representation, so I tentatively settled on a compact string
representation.  Generating such strings is easy on UNIX, and a bit more
difficult on VMS (due to the lack of gmtime()).  Unfortunately, the reverse
conversion seems substantially more difficult.  I can't find a function
which does the inverse of gmtime().  I've come up with a cheap hack algorithm
which might work, but I'm wondering what others have done in this situation.

Thanks!
- Brad
------------------------------------------------------------------------
+ Brad Daniels                  | "Let others praise ancient times;    +
+ Biles and Associates          |  I am glad I was born in these."     +
+ These are my views, not B&A's |           - Ovid (43 B.C. - 17 A.D.) +
------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Passing time values using DCE RPC?
  1994-03-15 15:23 Passing time values using DCE RPC? Brad Daniels
@ 1994-03-16  3:24 ` Rich Salz
  1994-03-16 17:56   ` Brad Daniels
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Salz @ 1994-03-16  3:24 UTC (permalink / raw)


In <CMppFn.MGo@biles.com> daniels@biles.com (Brad Daniels) writes:
>  I couldn't find
>any RPC time representation

What's wrong with utctypes.idl?
	/r$


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Passing time values using DCE RPC?
  1994-03-16  3:24 ` Rich Salz
@ 1994-03-16 17:56   ` Brad Daniels
  0 siblings, 0 replies; 3+ messages in thread
From: Brad Daniels @ 1994-03-16 17:56 UTC (permalink / raw)


In article <2m5u62$2f9@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote:
>In <CMppFn.MGo@biles.com> daniels@biles.com (Brad Daniels) writes:
>>  I couldn't find
>>any RPC time representation
>
>What's wrong with utctypes.idl?

The fact that it's not in the index of the Application Development Reference
or the Distributed Computing RPC Volume under "time"?  :-) Seriously, though,
I picked up the RPC volume thinking it was the Application Development Guide.
It looks like utctypes is pretty much all I need.  There's a bit of a nuisance
relating to wanting to represent microsecond times generated in bursts on
remote hardware, but we can do some special fudging on that where needed (such
times are valid only for comparison to other times generated at the same
source, anyway.)

Thanks!
- Brad
------------------------------------------------------------------------
+ Brad Daniels                  | "Let others praise ancient times;    +
+ Biles and Associates          |  I am glad I was born in these."     +
+ These are my views, not B&A's |           - Ovid (43 B.C. - 17 A.D.) +
------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-03-16 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-15 15:23 Passing time values using DCE RPC? Brad Daniels
1994-03-16  3:24 ` Rich Salz
1994-03-16 17:56   ` Brad Daniels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox