LiveCode Connections with Websockets

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
wmiriye
Posts: 20
Joined: Tue Jun 02, 2020 4:09 am

LiveCode Connections with Websockets

Post by wmiriye » Thu Oct 29, 2020 7:41 am

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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8169
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode Connections with Websockets

Post by FourthWorld » Fri Nov 06, 2020 1:20 am

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?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “Internet”