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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, TO_MALFORMED autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1c219342feb1c77,start X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: ADA client/server Date: 2000/08/19 Message-ID: <399EE972.DD6B49FD@acm.org>#1/1 X-Deja-AN: 660174047 Content-Transfer-Encoding: 7bit References: <399ec91e@usenet.per.paradox.net.au> To: jill X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 19 Aug 2000 20:09:22 GMT Content-Type: text/plain; charset=us-ascii Organization: Quadrus Corporation Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-19T20:09:22+00:00 List-Id: jill wrote: > > hi, > is it possible to build a client/server model in ADA? > if so, how do i fork a new process (child)? > need a reply urgently. > thanks. This is, of course, operating system dependent. To spawn a new process will vary somewhat from one OS to another. I believe the GNAT compiler has some interfaces which make this somewhat platform independent. On my Ada page at http://www.mcondic.com/ there is an example piece of code which will do this on WinNT. Also some examples of TCP/IP communication between processes which may be of use to you. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Take away the punchbowl just when the party gets going" -- William McChesney Martin, Former Fed chairman, explaining what a sound central bank must always do. ======================================================================