This subject was brought up last year. Checking in to see if there has been any updates on real time notifications. Can LC connect to a websocket server. I am trying to create a simple chat like android app like WhatsApp.
My backend server is powered by laravel websockets. If anyone has done this, please point me to the right direction.
LiveCode Connections with Websockets
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9847
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: LiveCode Connections with Websockets
It should be possible for someone to extend LiveCode's libURL to handle http connections upgraded to websockets.
But at the moment I don't know of anyone in a position to do so.
LiveCode does support regular sockets quite well, which are simpler to initiate and more efficient in throughput.
Is there any sort of extension for Laravel to allow native clients to use regular sockets?
But at the moment I don't know of anyone in a position to do so.
LiveCode does support regular sockets quite well, which are simpler to initiate and more efficient in throughput.
Is there any sort of extension for Laravel to allow native clients to use regular sockets?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: LiveCode Connections with Websockets
I'm working on a websocket client / server extension for livecode written in Go, currently half working via LCB ffi. Stalled whilst figuring out C callbacks in LCB and how to pass a Char * array to a C function ( from LCB , documentation is terrible). Hopefully will be sooner rather than later if frustration doesn't get the better of me!
-
- VIP Livecode Opensource Backer
- Posts: 9847
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: LiveCode Connections with Websockets
Super cool of you to do that, and it'll be an exciting contribution for many. Thank you.
I'm still wondering why service providers limit APIs to websockets, consuming more resources than they need to when used by any non-browser app...
I'm still wondering why service providers limit APIs to websockets, consuming more resources than they need to when used by any non-browser app...
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: LiveCode Connections with Websockets
product managers pushing a shiny new thing probably...
-
- Posts: 10
- Joined: Fri Apr 23, 2021 6:01 am
Re: LiveCode Connections with Websockets
Hello bohda,
just curious if you have made any progress on this?
Thanks
just curious if you have made any progress on this?
Thanks