Re: Mosquitto library.

2024-06-12 Thread Tom Glod via use-livecode
I was just viewitng the "livecode" tag on github. and saw this library. https://github.com/trevordevore/lc-mosquitto Trevor is prolific. Big respect. On Wed, Jun 12, 2024 at 7:33 PM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > > On 12/06/2024 18:26, Richard Gaskin

Re: Mosquitto library.

2024-06-12 Thread Alex Tweedly via use-livecode
On 12/06/2024 18:26, Richard Gaskin via use-livecode wrote: Mike Kerner wrote: Richard wrote: Either way, I'd imagine a subscribe client looking to avoid polling is going to depend on a long-lived socket, no? That's part of the point of a websocket. you don't have to keep reopening it, and

Re: Mosquitto library.

2024-06-12 Thread Mike Kerner via use-livecode
the original question was about mosquitto and handling messaging, thus the remarks about websockets. bob: the server just opens the port and listens. there is no timeout on the server. the client sends the request, and then times out if it does not receive a reply. whether it receives a reply or

Re: Mosquitto library.

2024-06-12 Thread Bob Sneidar via use-livecode
Hi Richard. This email thread now has me curious. If I have an app that starts listening on a port, does that server port have a timeout associated with it that needs refreshing, or does the timeout only exist when a client connects? I have always assumed the latter. Bob S > On Jun 12,

Re: Mosquitto library.

2024-06-12 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > Richard wrote: >> Either way, I'd imagine a subscribe client looking to avoid polling >> is going to depend on a long-lived socket, no? > > That's part of the point of a websocket. you don't have to keep > reopening it, and both ends can use it, as needed. Exactly,

Re: Mosquitto library.

2024-06-11 Thread Mike Kerner via use-livecode
>Either way, I'd imagine a subscribe client looking to avoid polling is going to depend on a long-lived socket, no? That's part of the point of a websocket. you don't have to keep reopening it, and both ends can use it, as needed. On Mon, Jun 10, 2024 at 11:38 AM Bob Sneidar via use-livecode <

Re: Mosquitto library.

2024-06-10 Thread Bob Sneidar via use-livecode
No, and Yes. ;-) Bob S On Jun 8, 2024, at 6:11 PM, Richard Gaskin via use-livecode wrote: * if we get websockets working, that will be another way to make this work. Do we need websockets on this? XMPP, for example, runs over regular sockets. Either way, I'd imagine a subscribe client

Re: Mosquitto library.

2024-06-08 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > * if you're on mobile, you can use push Desktop push isn't supported in LC's notifications API? > * you can also set up a small web server in your app to receive messages. > levure uses this technique to receive messages from a plugin in sublime > text that a script has

Re: Mosquitto library.

2024-06-08 Thread Mike Kerner via use-livecode
er words, > is > >> > there a way for a message from a server to directly enter the message > >> path > >> > within LC? > >> > > >> > Or is this totally dependent on a plugin based on something like what > >> > Joseba is aski

Re: Mosquitto library.

2024-06-07 Thread Tom Glod via use-livecode
r is this totally dependent on a plugin based on something like what >> > Joseba is asking? >> > >> > Peter Bogdanoff >> > >> > > On Jun 7, 2024, at 12:43 PM, Tom Glod via use-livecode < >> > use-livecode@lists.runrev.com> wrote:

Re: Mosquitto library.

2024-06-07 Thread Tom Glod via use-livecode
or a message from a server to directly enter the message > path > > within LC? > > > > Or is this totally dependent on a plugin based on something like what > > Joseba is asking? > > > > Peter Bogdanoff > > > > > On Jun 7, 20

Re: Mosquitto library.

2024-06-07 Thread Mike Kerner via use-livecode
anoff > > > On Jun 7, 2024, at 12:43 PM, Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > >> Mosquitto library > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com

Re: Mosquitto library.

2024-06-07 Thread Peter Bogdanoff via use-livecode
within LC? Or is this totally dependent on a plugin based on something like what Joseba is asking? Peter Bogdanoff > On Jun 7, 2024, at 12:43 PM, Tom Glod via use-livecode > wrote: > >> Mosquitto library ___ use-livecode mailing li

Re: Mosquitto library.

2024-06-07 Thread Tom Glod via use-livecode
How are you trying to get it to work with Livecode? On Thu, Jun 6, 2024 at 11:06 AM JosebaTELUR via use-livecode < use-livecode@lists.runrev.com> wrote: > Hello: > > I'm trying to get the Mosquitto library to work and can't get it to work. > Any help from the forum? > (Live

Mosquitto library.

2024-06-06 Thread JosebaTELUR via use-livecode
Hello: I'm trying to get the Mosquitto library to work and can't get it to work. Any help from the forum? (LiveCode 9.6.9 and Mojave System). Un saludo. Joseba. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url