From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,92640d662fc31a03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-14 12:27:42 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ada Libraries (was Re: howto make system calls (newbie question)) References: <9domjk$h4t$1@nh.pace.co.uk> X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 14 May 2001 19:27:41 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 989868461 24.20.190.201 (Mon, 14 May 2001 12:27:41 PDT) NNTP-Posting-Date: Mon, 14 May 2001 12:27:41 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.sj.google.com comp.lang.ada:7492 Date: 2001-05-14T19:27:41+00:00 List-Id: > The question would be, how easily would the Claw.Sockets stuff port > to - say - a Linux environment? My understanding is that winsock is pretty similar to Unix sockets, so the translation there shouldn't be hard. Claw.Sockets of course uses the Windows mechanisms to be notified of asynchronous events, so that would have to change to Linux mechanisms. The Ada-ification stuff, parameters, exceptions, controlled types, protected objects, etc, could presumably remain unchanged. I suppose there could be some whole areas of functionality that wouldn't port well. The only thing that springs to mind is the absence of asynchronous sockets in WinCE, but my understanding is they were used mostly in older, single-tasking Windows 3.1 environments.