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,dfddb85b5a048f08 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-18 00:56:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!news.belwue.de!contact.softwarezentrum.de!news.bawue.de!lemmies.lb.bawue.de!not-for-mail From: lemchens@lemmies.lb.bawue.de (arvids lemchens) Newsgroups: comp.lang.ada Subject: Re: GNAT.sockets UDP Example Date: 18 Nov 2002 09:09:00 +0100 Organization: A poorly-maintained Debian GNU/Linux InterNetNews site Sender: news@pd95912b9.dip.t-dialin.net Message-ID: <8a6gF2F+ACB@lemmies.lb.bawue.de> References: NNTP-Posting-Host: pd95912b9.dip.t-dialin.net X-Trace: pc3.dv-lemchens.de 1037607878 4214 192.168.2.6 (18 Nov 2002 08:24:38 GMT) User-Agent: OpenXP/32 v3.8.7pl1 (Linux) beta @ 2002-10-01-0656f Xref: archiver1.google.com comp.lang.ada:31026 Date: 2002-11-18T09:09:00+01:00 List-Id: Hello David, david.c.hoos.sr@ada95.com am 17.11.02 um 07:26 in comp.lang.ada: > The compiler messages mean exactly what they say. You need to > read and understand them. I know, i am still learning. > For a connectionless socket, you need the four-parameter version of > Send_Socket, otherwise the destination address is unspecified, > so you need > Send_Socket (Socket, Kahnung, Last, Address); That was my first attempt, later i switched to the three-parameter as i get more and more confused about two different Send_Socket's in GNAT.Sockets. > where Last has been declared as: > Last : Ada.Streams.Stream_Element_Offset; Thanks, that helped. Now it compiles and Datagrams work. MvfG, Arvids