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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,83a56cb8370ebd04 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-09 06:04:02 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!peer01.cox.net!cox.net!news-xfer.cox.net!news.litech.org!news.ems.psu.edu!news.cse.psu.edu!news.aset.psu.edu!not-for-mail From: Robert Spooner Newsgroups: comp.lang.ada Subject: Re: thanks Date: Fri, 09 Jan 2004 08:58:15 -0500 Organization: Penn State University, Center for Academic Computing Message-ID: References: NNTP-Posting-Host: nat3.arl.psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: f04n12.cac.psu.edu 1073656695 9728 128.118.40.78 (9 Jan 2004 13:58:15 GMT) X-Complaints-To: usenet@ NNTP-Posting-Date: Fri, 9 Jan 2004 13:58:15 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en,de,fr-FR In-Reply-To: Xref: archiver1.google.com comp.lang.ada:4256 Date: 2004-01-09T08:58:15-05:00 List-Id: Riccardo, If you want to use TCP/IP but make it look like a (reliable) UDP/IP protocol at a higher level, one way to do it is to layer a record structure on top of TCP that sends size in bytes as a fixed length preamble of every message. You read the size, and then loop until you have read the correct number of bytes for the entire message. Another way to do it is by using streams. Regards, Bob Riccardo wrote: > Thanks to everybody! > I'll consider all these considerations in arranging a new solution. > > Riccardo > > > > -- Robert L. Spooner Registered Professional Engineer Associate Research Engineer Intelligent Control Systems Department Applied Research Laboratory Phone: (814) 863-4120 The Pennsylvania State University FAX: (814) 863-7841 P. O. Box 30 State College, PA 16804-0030 rls19@psu.edu