Websockets ... again.

2024-04-26 Thread Tom Glod via use-livecode
Hi Folks, Can we get a measure again as to the interest in web sockets implementation in livecode? As far as I know we still do not have one that is available or able to be contributed to, I'd be willing to put in some engineering time if there was help from others available. Here are the full spe

Re: Websockets ... again.

2024-04-26 Thread Mike Kerner via use-livecode
i'm interested in client side, especially on mobile. we have an app that is in the wild that would be much better if we could stop pinging the server every five seconds. On Fri, Apr 26, 2024 at 4:10 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Folks, > > Can we get a

Re: Websockets ... again.

2024-04-26 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Can we get a measure again as to the interest in web sockets implementation > in livecode? Requested 2015, last activity 2020: https://quality.livecode.com/show_bug.cgi?id=16091 Given the elapsed time so far, maybe we can find another way to do this. - How hard would it be to s

Re: Websockets ... again.

2024-04-26 Thread Tom Glod via use-livecode
Richard, thanks for chiming in. 1. dunno, it can't be that hard, i would take an existing implementation in another language and rewrite it in livecode. 2. dunno 3. interesting thought, I will look into testing this. 4. many blockchains are websockets only, and most API with data "streams". Mike,

Re: Websockets ... again.

2024-04-26 Thread Bob Sneidar via use-livecode
I was thinking the same thing. Sent from my iPhone > On Apr 26, 2024, at 16:54, Tom Glod via use-livecode > wrote: > > Richard, thanks for chiming in. > > 1. dunno, it can't be that hard, i would take an existing implementation in > another language and rewrite it in livecode. > 2. dunno >

Re: Websockets ... again.

2024-04-27 Thread Bernard Devlin via use-livecode
One thing to bear in mind is that Livecode does not support secure sockets (despite what the Dictionary might say). On Sat, Apr 27, 2024 at 12:31 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > - How hard would it be to script it using LC's good socket support? > >

Re: Websockets ... again.

2024-04-27 Thread Mike Kerner via use-livecode
really? discuss. On Sat, Apr 27, 2024 at 5:06 PM Bernard Devlin via use-livecode < use-livecode@lists.runrev.com> wrote: > One thing to bear in mind is that Livecode does not support secure sockets > (despite what the Dictionary might say). > > On Sat, Apr 27, 2024 at 12:31 AM Richard Gaskin via

Re: Websockets ... again.

2024-04-27 Thread Mark Clark via use-livecode
LC just provides raw sockets. You can implement a TLS equivalent with a bit of elbow grease. Writing your own protocol gives a lot of control. TLS is something you may have to use to check boxes. Out of curiosity is there a market for something like this within the community? Sent from my iPho

Re: Websockets ... again.

2024-04-27 Thread Richard Gaskin via use-livecode
Bernard Devlin wrote: > One thing to bear in mind is that Livecode does not support secure sockets > (despite what the Dictionary might say). This is based on the Dictionary example for the "open socket" command. It runs without error, and the callback works. on mouseup open secure sock

Re: Websockets ... again.

2024-04-28 Thread Bob Sneidar via use-livecode
If you are going to roll your own security with raw sockets, what I had to do was encrypt the data then base64encode it, then reverse the process on the other side. Sent from my iPhone > On Apr 27, 2024, at 17:56, Richard Gaskin via use-livecode > wrote: > > Bernard Devlin wrote: > >> One