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-Thread: a07f3367d7,eb00b9b968ac2b79 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.66.84.41 with SMTP id v9mr2494226pay.43.1345541151901; Tue, 21 Aug 2012 02:25:51 -0700 (PDT) Path: t10ni7690332pbh.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!volia.net!news2.volia.net!feed-A.news.volia.net!newsfeed.utanet.at!newsfeed.tele2net.at!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?B?w4FsZXggUi4=?= Mosteo Newsgroups: comp.lang.ada Subject: Re: Ada networking (Adagio) Date: Tue, 21 Aug 2012 11:25:44 +0200 Organization: A noiseless patient Spider Message-ID: References: <296db66c-9246-4801-b293-c116e5c21f6b@googlegroups.com> <2ef339a5-2e40-49e9-b5dc-4bb018b93bda@googlegroups.com> Mime-Version: 1.0 Injection-Date: Tue, 21 Aug 2012 09:25:51 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="99cff88a3092f3ad77be66d4ad22221a"; logging-data="22826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1n8Tg1l9EfPz3lmYmTrJl" User-Agent: KNode/4.8.5 Cancel-Lock: sha1:wCBEdl6jCFvEcAkkgCveiS10+lQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Date: 2012-08-21T11:25:44+02:00 List-Id: Shark8 wrote: > On Monday, August 20, 2012 2:59:00 AM UTC-6, Álex R. Mosteo wrote: >> Shark8 wrote: >> >> > Hey, I was hoping to get a bit more familiar with using Ada for >> > networking programs; I found referenced to Adagio, which is supposed to >> > be (or have been, it's inactive now) a Gnutella2 program. >> > >> > The project is inactive and none of the files appear to have been >> > archived/downloadable. The last known source was contained in a zipfile >> > adagio-src.2.1.e.zip, which I cannot find for download either. >> > >> > I was wondering if anyone on this thread might have a copy laying >> > around on their HD. >> >> >> I'm the author and I'm pretty sure I keep the whole history in some >> archived SVN. If you're interested I could try to dig it out. Also, >> perhaps I could simply convert it to git and put it in github. > > Ah, that would be nice; I did get the zip from Martin though. > > >> I'm not sure how good a resource it is for learning from; I did learn a >> lot about blocking and non-blocking sockets when programming that (I >> experimented with both approaches -- IIRC a stack size related thread >> limit in Windows prompted me to abandon blocking IO in the end), but the >> code more or less grew up with little foreplanning. > > Ah, I know how that is. The thing that's bugging me about it right now is > the gnatpatch and runtime-configuration errors. (Still trying to figure > them out.) Ah, right. There was a Calendar bug in the windows GNAT version at the time that caused random thread lock-ups in delays. That caused me a lot of headaches to track down; I managed with the help of people here: https://groups.google.com/d/msg/comp.lang.ada/cdHjb8qqm5A/U8buGZrldhIJ Also there were some other problems with unbounded strings IIRC. I'm pretty sure that with recent Gnat versions you can dispense with the patching of the compiler. OTOH, perhaps the code won't readily compile with Gnat GPL 2012, but fixing whatever is now rejected might be easy. I'm going to try to find it and put it in GitHub, and we can work from there to put it in shape, if you want. Alex.