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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21eb855b156afd08 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews1.google.com!not-for-mail From: eaker1236@yahoo.com (Stephen Z) Newsgroups: comp.lang.ada Subject: Re: Ada Chat Program Date: 18 Sep 2004 09:15:33 -0700 Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 140.32.16.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1095524133 18468 127.0.0.1 (18 Sep 2004 16:15:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 18 Sep 2004 16:15:33 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3828 Date: 2004-09-18T09:15:33-07:00 List-Id: "Martin Dowie" wrote in message news:... > "Bernd Specht" wrote in message > >> each character and send them each individually. > > > > Why this? This will produce a lot of unnecessary network traffic. > > It's a 'chat' program - I expect it is so the user at the other end can see > characters as they are typed - a bit like the old "VAX phone"... I very new to programming in Ada and I am not sure about the best way to write this program. I was thinking that character-by-character would be easier simply because I don't necessarily know the length of the strings I want to send. If you could give some advice about sending strings I am should that would be more efficient. Also, if you could point me to some good websites or books I would appreciate it greatly.