Re: SSL connection approaches...

2023-09-09 Thread Alex Williams
Thanks for the clarification! Oh I absolutely love implementing protocols "just for fun", can't blame you for that haha. Please publish your code when it's ready, I'd love to have a look and lend a hand if needed. Cheers, AW -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscr

Re: SSL connection approaches...

2023-09-09 Thread Todd Coram
Hi AW, When I am NOT using SSL (but doing a local TCP connection to MQTT server), it is pure PicoLisp. Most of my needs are local, but I do occasionally each out to an internet hosted MQTT server. The MQTT client code I wrote a few years ago was in a subset of Common Lisp (small enough of a s

Re: SSL connection approaches...

2023-09-09 Thread Alex Williams
Hi Todd, If you're calling out to ncat/socat, then it won't be a "pure" PicoLisp client. In that case, why not simply call out to an existing C client or library such as Mosquitto: https://mosquitto.org/ ? I've been doing that since ~2016 by calling the mosquitto_pub client from PicoLisp w

Re: SSL connection approaches...

2023-09-09 Thread Todd Coram
Thanks Alex. My MQTT client is minimal, and the Common Lisp implementation, has been running in production for over a year. I hope to do same with the Picolisp version, which has only "ncat/socat" as a dependency, It's open source, but not ready for "release" quite yet... /todd -- UNSUBSC

Re: SSL connection approaches...

2023-09-09 Thread Alexander Burger
Hi Todd, > I've been porting my "pure" Common Lisp MQTT client to Picolisp, and it has > gone > very well for non-SSL connections (I just used "connect"), but I am looking > for > a canonical way to connect to a SSL/TLS encrypted socket (no certs needed, I > just need basic encryption). > (de m