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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no 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!news2.google.com!proxad.net!newsfeed.stueberl.de!uucp.gnuu.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ada Chat Program From: Bernd.Specht@gmx.com (Bernd Specht) References: Organization: No company Message-ID: User-Agent: Xnews/4.05.03 Date: 18 Sep 2004 19:10:04 GMT NNTP-Posting-Date: 18 Sep 2004 21:10:04 MEST NNTP-Posting-Host: 361d42c4.newsread2.arcor-online.net X-Trace: DXC=AFK eaker1236@yahoo.com (Stephen Z) wrote in news:de98c113.0409180815.560719b1@posting.google.com: > "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. What about the other questions? OS? Protocol? GUI/Console app? What environment (firewall, NAT, ...)? Maybe I can send you some example code (if it is for windows).