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!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:05:56 GMT NNTP-Posting-Date: 18 Sep 2004 21:05:56 MEST NNTP-Posting-Host: 7fc412cc.newsread4.arcor-online.net X-Trace: DXC=mR]c@]k4Y= "Martin Dowie" wrote in news:cifket$6ou$1@hercules.btinternet.com: > "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"... > Ok, this could be a reason. But, Stephen wrote: > am trying to input a string and parse each > character and send them each individually. So if he inputs a string, why not send the string directly. Why send it byte by byte?