Hi,
before wasting time on futile attempts, because I have not found any RunRev documentation about, I would like to know if it's possible, from LiveCode, to connect to a "websocket server" (RFC 6455) to receive data in the form of JSON messages.
Someone has already had experience with this type of connection ? Is supported by LiveCode ? Any suggestion ?
Thanks in advance,
Guglielmo
Websocket ...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Websocket ...
sure, possible on desktop. You'd need to implement the protocol yourself of course, using sockets, or by setting the httpHeaders.
Maybe not on mobile (no sockets as of summer '13), can't be sure without reading the whole specs.
read the dictionary:
httpHeaders
open socket
read from socket
write to socket
libURLSetCustomHTTPHeaders
libURLLastHTTPHeaders()
libURLLastRHHeaders()
load
Maybe not on mobile (no sockets as of summer '13), can't be sure without reading the whole specs.
read the dictionary:
httpHeaders
open socket
read from socket
write to socket
libURLSetCustomHTTPHeaders
libURLLastHTTPHeaders()
libURLLastRHHeaders()
load
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Websocket ...
BvG wrote:sure, possible on desktop. You'd need to implement the protocol yourself of course, using sockets, or by setting the httpHeaders.
...





Guglielmo