comp.lang.ada
 help / color / mirror / Atom feed
* General sockets & file system interface
@ 1998-10-05  0:00 Brett Kettering
  1998-10-06  0:00 ` dennison
  1998-10-07  0:00 ` Roy T. Fielding
  0 siblings, 2 replies; 4+ messages in thread
From: Brett Kettering @ 1998-10-05  0:00 UTC (permalink / raw)


Is there a product available that provides a platform-independent
interface to the file system and sockets?  In my particular case I just
need to list the files in a directory and do the standard open, bind,
listen, and read on the socket.

At this time I am just looking to target WinNT and Sun Solaris.  I'm
using Aonix's ObjectAda 7.1.2 on NT and they have an NT-specific
interface that I am using successfully for these purposes.

I'll probably purchase ObjectAda for Sun Solaris, but their tech.
support indicates that the interface provided for Solaris would be
different than for NT, thus my question to this group.  I'd like my code
to be the same on both platforms.

Thanks for any references provided.

Brett Kettering

--
Views and opinions expressed are mine and not those of
Lawrence Livermore National Laboratory.






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

* Re: General sockets & file system interface
  1998-10-05  0:00 General sockets & file system interface Brett Kettering
@ 1998-10-06  0:00 ` dennison
  1998-10-06  0:00   ` Tom Moran
  1998-10-07  0:00 ` Roy T. Fielding
  1 sibling, 1 reply; 4+ messages in thread
From: dennison @ 1998-10-06  0:00 UTC (permalink / raw)


In article <36190FE1.E9ADA9A3@llnl.gov>,
  brettk@llnl.gov wrote:
> Is there a product available that provides a platform-independent
> interface to the file system and sockets?  In my particular case I just
> need to list the files in a directory and do the standard open, bind,
> listen, and read on the socket.

Well...there's tcl.

In this instance, I'd probably just write high-level bindings for these
operations and write different implementations of the bindings for each
platform. The facilities are close enough that you should be able to do that
without too much work.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




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

* Re: General sockets & file system interface
  1998-10-06  0:00 ` dennison
@ 1998-10-06  0:00   ` Tom Moran
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Moran @ 1998-10-06  0:00 UTC (permalink / raw)


>In this instance, I'd probably just write high-level bindings for these
>operations and write different implementations of the bindings for each
>platform. The facilities are close enough that you should be able to do that
>without too much work.
  Claw 1.2 defines a high level Ada socket interface and implements it
on Windows sockets.  It shouldn't be hard to change the implementation
to use non-Windows sockets.




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

* Re: General sockets & file system interface
  1998-10-05  0:00 General sockets & file system interface Brett Kettering
  1998-10-06  0:00 ` dennison
@ 1998-10-07  0:00 ` Roy T. Fielding
  1 sibling, 0 replies; 4+ messages in thread
From: Roy T. Fielding @ 1998-10-07  0:00 UTC (permalink / raw)


In <36190FE1.E9ADA9A3@llnl.gov> Brett Kettering <brettk@llnl.gov> writes:
>Is there a product available that provides a platform-independent
>interface to the file system and sockets?  In my particular case I just
>need to list the files in a directory and do the standard open, bind,
>listen, and read on the socket.

The Onions networks streams library for Ada95 is designed to do that,
though it will probably need some work to port it to WinNT.  In any case,
it provides a better portability abstraction.  It needs a new maintainer.

The source code is released under the same modified GPL as GNAT/GLADE,
mostly because it reuses some of the Garlic library.

   http://www.ics.uci.edu/pub/websoft/libwww-ada95/

Cheers,

 ...Roy T. Fielding   [see me next week at ApacheCon98, www.apachecon.com]
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92697-3425    fax:+1(949)824-1715
    http://www.ics.uci.edu/~fielding/




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

end of thread, other threads:[~1998-10-07  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-05  0:00 General sockets & file system interface Brett Kettering
1998-10-06  0:00 ` dennison
1998-10-06  0:00   ` Tom Moran
1998-10-07  0:00 ` Roy T. Fielding

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