Hi Malte,
If you are able to use the commercial version of LC server, the tsNet
external is supported which provides equivalent functionality to libUrl.
Regards,
Charles
On 5/05/2017 8:48 PM, Malte Brill via use-livecode wrote:
Thanks Dan, but that is not what I am after…
I have a server side liveCode application, which needs to talk to a couple of
webservices from time to time. While this works nicely on the desktop, it does
not do so on Server, as Server lacks some libURL functionality. First
workaround was to shell out to cURL. This works nicely on Mac and Linux
servers, but forever reason fails under Windows Server, which I need to
support. So the next thought was to call a liveCode executable -ui when needed,
but I do not get a result back there. I will not want to have a liveCode
standalone running 24/7 on a server machine. I guess the easiest way out is to
simply kill off the idea to treat liveCode server as a replacement for PHP and
just bite the bullet and build everything in PHP instead. Or start an
initiative to get libURL ported to server. I already talked to the guys in
Scottland to see if this would be feasible, but it would cost a bit more than I
could afford alone. I might just go with having the single command implemented
I would need for the project (libURLLastRHHeaders), which then would also lift
the requirements for having to use cURL or any other helper app in my case, but
I am not quite sure if that makes sense…
Would anybody else like to see libURL feature parity between Desktop and Server
engines and if so be willing to set up a fundraiser with me for this?
Cheers,
Malte
You can communicate between server and desktop using sockets. Chatrev is a
good example of this
http://www.bjoernke.com/index.irev?target=chatrev
_______________________________________________
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