From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=3.0 tests=AC_FROM_MANY_DOTS,BAYES_40, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:a5d:604a:0:b0:21b:9517:66eb with SMTP id j10-20020a5d604a000000b0021b951766ebmr2291038wrt.494.1656497712480; Wed, 29 Jun 2022 03:15:12 -0700 (PDT) X-Received: by 2002:a81:c314:0:b0:319:8f7c:6323 with SMTP id r20-20020a81c314000000b003198f7c6323mr3129574ywk.457.1656497711680; Wed, 29 Jun 2022 03:15:11 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 29 Jun 2022 03:15:11 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=2a01:e34:ecb4:e690:9e4b:f583:2e6e:7b7; posting-account=O3LyFwoAAACc1uh60ZcOUmAGdDmGsEcV NNTP-Posting-Host: 2a01:e34:ecb4:e690:9e4b:f583:2e6e:7b7 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: SimpleComponents / MQTT From: slos Injection-Date: Wed, 29 Jun 2022 10:15:12 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:64050 List-Id: Hello Dmitry, I'm having fun playing with SimpleComponents MQTT implementation and I have= some questions... I'm on Debian Sid using : GNAT Studio 23.0w (20220512) hosted on x86_64-pc-linux-gnu GNAT 11.3.0 targeting x86_64-linux-gnu GNAT Studio (c) 2001-2022 AdaCore Building the test application is fine using : gprbuild -d -P/home/slos/Ada/SimpleComponents/components_4_62/test_componen= ts/components-connections_server-mqtt-test_mqtt.gpr -XObject_Dir=3D. -Xarch= =3Dx86_64 -XTarget_OS=3DWindows -XDevelopment=3DDebug -XLegacy=3DAda2012 -X= Atomic_Access=3Dauto -XTasking=3DMultiple -XTraced_objects=3DOff /home/slos= /Ada/SimpleComponents/components_4_62/test_components/test_mqtt_client.adb Running using either "test.mosquitto.org" or local mosquitto gives an excep= tion after some messages received : Exception raised raised GNAT.SOCKETS.SERVER.CONNECTION_ERROR : gnat-sockets-server.adb:1145 I don't recall having got exceptions with Gnat Community 2021 on Windows. Could you please have a look on that behaviour ? It should be possible to use user name and password but I haven't found how= with your implementation. Could you tell please ? Of course, one should use TLS in this case. Is it feasible and how ? Also, how to provide a timestamp ? Thanks a lot for your kind support. Best Regards, St=C3=A9phane https://www.ada4automation.org/