From: Robert Spooner <rls19@psu.edu>
To: Frank <franjoe@frisurf.no>
Subject: Re: Ada Annex E (Just curious :-)
Date: Fri, 02 Mar 2001 09:42:20 -0800
Date: 2001-03-02T09:42:20-08:00 [thread overview]
Message-ID: <FF7C37637BE61E23.88B82027B45AFB81.642B20885C6E2C45@lp.airnews.net> (raw)
In-Reply-To: tOvn6.4862$t21.143493@news3.oke.nextra.no
I made my own bindings to sockets routines before AdaSockets was
available, and at least for Unix (Solaris) and VxWorks I was able to put
all the operating system dependent information in a single package body
where I defined a few constants such as the mask size for Select. It
should also work for VMS if you want to use sockets rather than the QIO
interface. I haven't looked at Windows closely enough to comment on how
different the sockets interface is for it.
You can know what to do about network order for parameters by testing
the Bit_Order attribute of a type with default bit ordering, so that
shouldn't be a portability issue.
Bob
Frank wrote:
>
> Hi!
>
> I guess it some kind of CORBA that is the solution for this kind of problem
> then?
>
> Frank
>
> >
> > I haven't looked at ADEPT in a long time, so I can't speak to that. I
> > have had success using the AdaSockets collection on the natively
> > compiled Ada side, and the Socket class on the Java side (actually
> > JGNAT). One does have to worry about host vs network byte order, and
> > what I've gotten so far is probably horribly non-portable, but for now
> > anyway it's working.
> >
--
Robert L. Spooner
Registered Professional Engineer
Associate Research Engineer
Intelligent Control Systems Department
Applied Research Laboratory Phone: (814) 863-4120
The Pennsylvania State University FAX: (814) 863-7841
P. O. Box 30
State College, PA 16804-0030 rls19@psu.edu
next prev parent reply other threads:[~2001-03-02 17:42 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yJSm6.8482$X_2.140961@news1.oke.nextra.no>
2001-02-28 13:28 ` Ada Annex E (Just curious :-) Marc A. Criley
2001-03-01 17:33 ` Frank
2001-03-02 17:42 ` Robert Spooner [this message]
[not found] ` <x7vu25bcl22.fsf@smaug.pushface.org>
2001-03-05 19:26 ` Robert Spooner
2001-03-02 9:38 ` Pascal Obry
2001-03-04 19:12 ` Dr Adrian Wrigley
2001-03-05 14:56 ` Ted Dennison
2001-03-05 16:24 ` Marin David Condic
2001-03-06 1:24 ` Dr Adrian Wrigley
2001-03-06 14:51 ` Ted Dennison
2001-03-06 15:23 ` Marin David Condic
2001-03-06 18:42 ` Kevin Rigotti
2001-03-06 20:56 ` Marin David Condic
2001-03-06 22:47 ` Robert A Duff
2001-03-07 14:43 ` Marin David Condic
2001-03-07 18:02 ` Randy Brukardt
2001-03-07 19:52 ` Marin David Condic
2001-03-07 21:04 ` Robert A Duff
2001-03-07 21:45 ` Robert A Duff
2001-03-07 6:54 ` Jeffrey Carter
2001-03-07 21:39 ` Robert A Duff
2001-03-08 5:53 ` Jeffrey Carter
2001-03-07 21:47 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox