Search found 11 matches

by couchpotato
Tue Feb 25, 2020 9:17 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

Re: How to use letsencrypt with sslCertificates - secure socket server

I'm all for greater internet security. Websockets seems to be the de facto standard. In order to use websockets to exchange data with your PC/Mac running Livecode one needs a WS/WSS stack to implement the protocol you see when you accept a connection in LC. Such work is left as an exercise to the st...
by couchpotato
Tue Feb 25, 2020 7:12 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

Re: How to use letsencrypt with sslCertificates - secure socket server

In the name of internet security, websockets are THE allowable client/server method (using ws and wss protocols). (note: this is way different from low-level tcpsockets which are not accessible from Javascript as best I know) Now that I have my app receiving connection requests "ALL" that I need is ...
by couchpotato
Tue Feb 25, 2020 5:26 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

Re: How to use letsencrypt with sslCertificates - secure socket server

I discovered that the REAL problem here is that LC supports sockets, NOT web sockets.
I need to use other (simpler) function on my website client to do the connection.

my ignorance
by couchpotato
Tue Feb 25, 2020 3:52 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

Re: How to use letsencrypt with sslCertificates - secure socket server

It's perhaps worthwhile to point-out that the data received without specifying "secure socket" looks like this 10.0.1.100:63014: ¸}µVÓ‘BoCÌ.åèQGnB˵^åᵉ†l¯?ã{ âTˇ)[0ŒúaúœÛuÈq±Ior5ÀüìZ˚ˇhs~"JJ¿+¿/¿,¿0éî¿¿úù/5 10.0.1.100:63014: ëÍÍmyhostname.comˇ 10.0.1.100:63014: 10.0.1.100:63014: ∫∫# 3+)∫∫ °ù`âQ!...
by couchpotato
Mon Feb 24, 2020 7:42 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

Re: How to use letsencrypt with sslCertificates - secure socket server

I also tried

accept connections on port 443 with message "someoneConnected"
secure socket "443" without verification

and

accept connections on port 443 with message "someoneConnected"
secure socket "443"

neither helped... both failed with the CIPHER_MISMATCH
by couchpotato
Mon Feb 24, 2020 7:10 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

Re: How to use letsencrypt with sslCertificates - secure socket server

Oh, yeah, I forgot to mention

I'm running Mac OS X 10_14_6
Livecode Indy 9_5_1 Build 15505
by couchpotato
Mon Feb 24, 2020 6:40 pm
Forum: Internet
Topic: How to use letsencrypt with sslCertificates - secure socket server
Replies: 13
Views: 5067

How to use letsencrypt with sslCertificates - secure socket server

I am developing an livecode app that provides data to my website, on demand. I'm building a socket server, have my SSL certificate from letsencrypt (it works with https from my computer) and I now need to establish a secure socket connection to the incoming wss:// request from the website. livecode ...
by couchpotato
Fri Feb 14, 2020 4:09 am
Forum: CGIs and the Server
Topic: browser widget use in livecode server (restrictions?)
Replies: 3
Views: 2270

Re: browser widget use in livecode server (restrictions?)

I am not expecting a GUI version of the browser, it was the functionality (not the appearance) that I was after. I am looking for a means by which i can programmatically enter data into fields on an arbitrary website as a robotic typist would. The intention here is to streamline processes for which ...
by couchpotato
Fri Feb 14, 2020 12:35 am
Forum: CGIs and the Server
Topic: browser widget use in livecode server (restrictions?)
Replies: 3
Views: 2270

browser widget use in livecode server (restrictions?)

I have a functioning stack that does what I need to do, running fine on LC 9 on Mac OS X with my Indy license. For now, it simply creates a browser widget, opens a website in it and extracts the value of a specific field. on myJSHandler Message answer "myJSHandler:" && Message end myJSHandler create...
by couchpotato
Tue Feb 01, 2011 5:32 pm
Forum: Multimedia
Topic: Copy arbitrary rect from one image to another
Replies: 3
Views: 3798

Re: Copy arbitrary rect from one image to another

Thanks for the suggestions. The intuitive solution actually works in LiveCode (RunRev), it just fails once standalone or web app is built. Solution is export snapshot from rect snapRect of this card to image "Canvas" as JPEG with image "Canvas" visible when executed this effectively updates it to in...
by couchpotato
Sun Jan 30, 2011 8:38 pm
Forum: Multimedia
Topic: Copy arbitrary rect from one image to another
Replies: 3
Views: 3798

Copy arbitrary rect from one image to another

I have spent more time that I'll admit trying to accomplish what appears to be a simple task. Via script I need to copy a rectangle of one image object and paste it into the same-sized rectangle of another image object. Ideally this needs to be done with neither of the images visible. I'm developing...

Go to advanced search