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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,50b338b69088ffa3 X-Google-Attributes: gid103376,public From: "Tarjei Tj�stheim Jensen" Subject: Re: Signals from ethernet card driver Date: 1999/04/30 Message-ID: <3729EBFE.BC6402F9@online.no>#1/1 X-Deja-AN: 472826753 Content-Transfer-Encoding: 7bit References: <3728E864.C1BAB081@res.raytheon.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: news-abuse@online.no X-Trace: news1.online.no 925494665 130.67.226.42 (Fri, 30 Apr 1999 19:51:05 MET DST) Organization: Jensen programvareutvikling MIME-Version: 1.0 NNTP-Posting-Date: Fri, 30 Apr 1999 19:51:05 MET DST Newsgroups: comp.lang.ada Date: 1999-04-30T00:00:00+00:00 List-Id: askeya wrote: > I am not sure if this is a Solaris or an Ada question so I'll post to > both places. > > I am trying to get a driver to signal my Ada program when a TCP/IP > message arrives over an ethernet on a Sun running Solaris 2.7. It would > be great if the signal would act as a task rendezvous. I have done this > on a VAX with VMS using Starlet, but don't have a clue if it can be done > on a Sun with Solaris. > > First question: can the driver send a signal when a message arrives? > > Second question: In theory, can I receive that signal in my program? > > Third question (if you feel ambitious): In general, how? Why not use sockets? I suppose forrest (available at various net sites which carries ada source) would do nicely. I would even assume that your ada environment/compiler comes with the neccessary definitions to use sockets. Greetings,