Discussion:
LiveCode and Websockets
Todd Fabacher via use-livecode
2018-11-23 05:09:27 UTC
Permalink
We have hot a wall because we have an API that is ONLY accessible via a
call to Socket.io server using Websockets.

Richard Gaskin, I remember you were looking into this last year, any
success from your research.

It seems the best way would be to open a web browser and code the
communications using Javascript, which would then all a LiveCode function
on the callback.

Any suggestions would be appreciated!!

Much Thanks,

--Todd
Charles Warwick via use-livecode
2018-11-23 06:10:32 UTC
Permalink
Hi Todd,

Depending on what platforms you need to support, I have a socket external for LiveCode that includes the ability to use websockets.

Cheers,

Charles
Post by Todd Fabacher via use-livecode
We have hot a wall because we have an API that is ONLY accessible via a
call to Socket.io server using Websockets.
Richard Gaskin, I remember you were looking into this last year, any
success from your research.
It seems the best way would be to open a web browser and code the
communications using Javascript, which would then all a LiveCode function
on the callback.
Any suggestions would be appreciated!!
Much Thanks,
--Todd
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
Tom Glod via use-livecode
2018-11-23 06:46:48 UTC
Permalink
Todd, this was posted here a little while ago..haven't tested it, but
apparently its websockets for livecode. Let us know how it goes.

https://github.com/samansjukur/wslc

On Fri, Nov 23, 2018 at 1:10 AM Charles Warwick via use-livecode <
Post by Charles Warwick via use-livecode
Hi Todd,
Depending on what platforms you need to support, I have a socket external
for LiveCode that includes the ability to use websockets.
Cheers,
Charles
On 23 Nov 2018, at 4:09 pm, Todd Fabacher via use-livecode <
We have hot a wall because we have an API that is ONLY accessible via a
call to Socket.io server using Websockets.
Richard Gaskin, I remember you were looking into this last year, any
success from your research.
It seems the best way would be to open a web browser and code the
communications using Javascript, which would then all a LiveCode function
on the callback.
Any suggestions would be appreciated!!
Much Thanks,
--Todd
_______________________________________________
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
Tom Glod via use-livecode
2018-11-23 06:47:48 UTC
Permalink
ps > requires websocketd to go along with it.
Post by Tom Glod via use-livecode
Todd, this was posted here a little while ago..haven't tested it, but
apparently its websockets for livecode. Let us know how it goes.
https://github.com/samansjukur/wslc
On Fri, Nov 23, 2018 at 1:10 AM Charles Warwick via use-livecode <
Post by Charles Warwick via use-livecode
Hi Todd,
Depending on what platforms you need to support, I have a socket external
for LiveCode that includes the ability to use websockets.
Cheers,
Charles
On 23 Nov 2018, at 4:09 pm, Todd Fabacher via use-livecode <
We have hot a wall because we have an API that is ONLY accessible via a
call to Socket.io server using Websockets.
Richard Gaskin, I remember you were looking into this last year, any
success from your research.
It seems the best way would be to open a web browser and code the
communications using Javascript, which would then all a LiveCode
function
on the callback.
Any suggestions would be appreciated!!
Much Thanks,
--Todd
_______________________________________________
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
bob--- via use-livecode
2018-11-24 13:44:21 UTC
Permalink
Charles,

I would like to find out more about your socket external specifically for websockets. Can you point me to where I can find out about the socket external?

Thanks,
Bob Hall
Post by Charles Warwick via use-livecode
Hi Todd,
Depending on what platforms you need to support, I have a socket external for LiveCode that includes the ability to use websockets.
Cheers,
Charles
Charles Warwick via use-livecode
2018-11-26 06:24:27 UTC
Permalink
Hi Bob,

The external is still in development, so I have not yet uploaded any information or documentation to the web. I am happy to send you the latest beta version along with a few sample scripts if you are interested, just send me an e-mail directly.

Regards,

Charles
Post by bob--- via use-livecode
Charles,
I would like to find out more about your socket external specifically for websockets. Can you point me to where I can find out about the socket external?
Thanks,
Bob Hall
Post by Charles Warwick via use-livecode
Hi Todd,
Depending on what platforms you need to support, I have a socket external for LiveCode that includes the ability to use websockets.
Cheers,
Charles
Andre Alves Garzia via use-livecode
2018-11-26 11:10:41 UTC
Permalink
Charles,

A WebSockets external would be very beneficial for everyone doing web
stuff from LC. I am looking forward to checking it out when it is
released. :-) Thanks a lot for working on this.

Cheers

andre
Post by Charles Warwick via use-livecode
Hi Bob,
The external is still in development, so I have not yet uploaded any information or documentation to the web. I am happy to send you the latest beta version along with a few sample scripts if you are interested, just send me an e-mail directly.
Regards,
Charles
Post by bob--- via use-livecode
Charles,
I would like to find out more about your socket external specifically for websockets. Can you point me to where I can find out about the socket external?
Thanks,
Bob Hall
Post by Charles Warwick via use-livecode
Hi Todd,
Depending on what platforms you need to support, I have a socket external for LiveCode that includes the ability to use websockets.
Cheers,
Charles
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
Todd Fabacher via use-livecode
2018-11-25 16:15:33 UTC
Permalink
Thanks Charles for the reply. Hope all is going well with you. Where can I
test the WebSocket external? I will need it for iOS, Android, Mac, and
Windows. Can you email me directly as we are time sensitive on this please.

We have the server up and running. Socket.io is the BEST in the market and
can deal with 10,000+ simultaneous connections with Node.js as the server.

Also, thanks, Tom. I looked at this and what it does is create a bridge
between LC and a web browser JavaScript that you add to the form. This is a
GREAT workaround if we can find our own controller. I see they need some
more Javascript code to manage all the different callback and error
trapping functionality, but it is a workable solution we also had
considered. It is NOT as flexible as an external, but we will improve it to
make it work to keep it as a backup.

Thanks guys,

Todd Fabacher
Loading...