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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada x Datagram Sockets Date: Thu, 07 Feb 2019 10:11:50 +0000 Organization: A noiseless patient Spider Message-ID: References: <47f17695-f9a5-4024-b2da-3f13209dc4fd@googlegroups.com> <818f5ff4-f18d-42b8-950d-9b597c012aa4@googlegroups.com> <62406dfb-54c9-4db3-b461-0ad72d4a782c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="44368923b22a16a04c0cd1e66bdeae91"; logging-data="18992"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AbN/+1BMcAwnqWsWByAmep2ewak1z2yM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:ZElR+am2F8fhpzP65U0hGVMaFOs= sha1:tQj9/Eo2++hAFWad8LUohFyLmCM= Xref: reader01.eternal-september.org comp.lang.ada:55457 Date: 2019-02-07T10:11:50+00:00 List-Id: "Rego, P." writes: > Just the string "test". I also confirmed that the MQL container (uchar > data[]) has really the size 5. > > I also forgot to mention that the communication from both > client-server applications show no problem at all, I mean, MQL to MQL > and Ada to Ada have no errors. The problem comes only when trying MQL > to Ada. Since you (sadly) need to change on the Ada side, the best start might be to use Wireshark, or read the MQL message into a Stream_Element_Array buffer, to see what actually comes over the wire, and then work from that.