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,d4ccd64f6bc1394a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.89.133 with SMTP id bo5mr15917wib.6.1363918479499; Thu, 21 Mar 2013 19:14:39 -0700 (PDT) MIME-Version: 1.0 Path: p18ni6019wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!feeder.erje.net!eu.feeder.erje.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: ada and rest services Date: Sun, 17 Mar 2013 18:52:13 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: Tr4YF43EK2s0RuphVpEIMQ.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Tom's custom newsreader Date: 2013-03-17T18:52:13+00:00 List-Id: >> I have an Ada program communicating with Javascript on an Android (et al) >> using WebSockets. > > I would be very interested to see the javascript and the ada code for >that if you are ok with that please! I emailed you speed2.zip, containing a little test program "speed2.htm" and "speed2.adb", and "websoc.ad?", the important part of the websockets communicator. speed2 is a little test program that times the transfer of a 160K image and displays that on a scrolling graph on the browser, presumed to be a smartphone. It lets you walk around and watch how distance or obstacles change the effective WiFi data transfer rate. The Ada code uses Claw.Sockets (www.rrsoftware.com) and SHA (www.cc.utah.edu/~nahaj/). It also uses my packages tty_out and log, to log what's happening on the PC side.