Hi Richard,

I have an LC external under development that supports websockets that could 
potentially help you.  Feel free to contact me off-list if you would like to 
try it out.

Regards,

Charles

> On 30 Oct 2017, at 9:37 am, Monte Goulding via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi Richard
> 
> LiveCode does not currently have websocket support. As this has come up 
> recently in a number of areas I had a quick look at the spec 
> (https://tools.ietf.org/html/rfc6455 <https://tools.ietf.org/html/rfc6455>). 
> It looks relatively feasible to implement on top of our current socket 
> support in LiveCode script. Possibly as part of libURL or a separate library.
> 
> Cheers
> 
> Monte
> 
>> On 29 Oct 2017, at 10:49 pm, Richard Miller via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> I have been using LC to access an API through conventional means, but that 
>> site has now changed to a socket protocol. I have tried various methods, but 
>> just can’t get it to work.
>> 
>> I would appreciate it if someone familiar with sockets could take a look and 
>> show me how to do this. I only need to know how to establish a connection 
>> and receive data. I can take it from there.
>> 
>> The information I am looking to receive is what is produced through this now 
>> deprecated API. It is a list of all of the digital tokens being traded at 
>> this site. (Note: you may have to send this link a few times in order to get 
>> a response. The site is often overloaded.)
>> 
>>    put https://api.etherdelta.com/returnTicker
>> 
>> I want to receive the same information, but using the new socket-based API 
>> shown here.
>> 
>> https://github.com/etherdelta/etherdelta.github.io/blob/master/docs/API.md
>> https://github.com/etherdelta/etherdelta.github.io/tree/master/bots
>> 
>> Thank you very much for help with this.
>> Richard Miller
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to