Search found 363 matches

by ghettocottage
Wed Jun 07, 2023 3:11 am
Forum: Internet
Topic: TCP Socket check if the connection is working
Replies: 11
Views: 12464

Re: TCP Socket check if the connection is working

Every command I send to thee server comes with a reply 200 for successful / 400 for unsuccessful . I can send a generic INFO command as well that replies the server version for example. Also I would like to mention that, because the client/server usecase is for Broadcasting, the solution has to be ...
by ghettocottage
Tue Jun 06, 2023 5:13 pm
Forum: Internet
Topic: TCP Socket check if the connection is working
Replies: 11
Views: 12464

Re: TCP Socket check if the connection is working

Okay, with the ping command I can check if the server is reachable inside the network that the client is connected to. But I want to know when my client is disconnected, not just if the server is reachable, as this way i dont know if my client is connected or disconnected. Can you write a little co...
by ghettocottage
Mon May 29, 2023 1:36 am
Forum: Internet
Topic: TCP Socket check if the connection is working
Replies: 11
Views: 12464

Re: TCP Socket check if the connection is working

What OS is the server running, and also what OS will your client be running on?
by ghettocottage
Sat May 20, 2023 5:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Messaging with Desktop
Replies: 6
Views: 3149

Re: Messaging with Desktop

There are two routes I know of that you could go: XMPP to SMS Bridge ########################## There is a company that has an XMPP to SMS bridge for a very reasonable fee (a few dollars/month). They give you a phone number or you can import a number. I was able to import my old Google Voice number....
by ghettocottage
Wed Oct 07, 2020 2:53 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 9989

Re: Execute permissions?

I just had some work-situations change and needed a laptop so I could be in an office or go home to work. By pure chance a friend was selling a Lenovo Thinkpad T540p for cheap. I did not care for it at first glance, but the price was right ($200) After having it for a couple of weeks I love it. The ...
by ghettocottage
Wed Sep 30, 2020 2:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Best strategy for building complex software?
Replies: 24
Views: 11407

Re: Best strategy for building complex software?

Thanks for the description. I am always curious to hear from people who are immigrating from FM. As a side note: you might be interested in a feature Richard Gaskin showed me a while back. Basically, if you have a webserver (I think LiveCloud has webhosting built in) with Livecode you can create a l...
by ghettocottage
Wed Sep 30, 2020 12:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Best strategy for building complex software?
Replies: 24
Views: 11407

Re: Best strategy for building complex software?

Out of curiosity: did you use Filemaker Server with your app, or did you just keep it all together on the same computer? Did you get into separating data from the user-interface? I remember Filemaker did have that ability and it made designing databases much easier. Are you moving to a MySQL databas...
by ghettocottage
Sat Sep 26, 2020 4:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Raspberry Pi
Replies: 4
Views: 3208

Re: Raspberry Pi

I have a few raspberry pi zero's out in the field (some of them literally out in a field) that work in conjunction with Livecode Server. Rather than running livecode on the pi, I use bash or python scripts on the pi to send data to a livecode server (a VPS from Linode or digitalOcean), and use the s...
by ghettocottage
Sun Sep 20, 2020 3:10 pm
Forum: Internet
Topic: smtp
Replies: 32
Views: 21203

Re: smtp

Another option maybe to use an email service that has a REST API. Couple of examples (I haven't tried these myself): https://rapidapi.com/fapi/api/fapimail/details https://www.mailjet.com/email-api/ GMail also has an API https://developers.google.com/gmail/api/guides/sending For the OP's use-case, ...
by ghettocottage
Thu Sep 17, 2020 10:10 pm
Forum: Internet
Topic: smtp
Replies: 32
Views: 21203

Re: smtp

Do you have a server that you are sending the messages to, that then get emailed? If so, does your server have livecode-server installed along with Apache? Or perhaps just php? you could just send a POST with the message to your server and from there you can email it or log it in a database. From a ...
by ghettocottage
Thu Sep 17, 2020 6:59 pm
Forum: Internet
Topic: smtp
Replies: 32
Views: 21203

Re: smtp

What is it you are trying to do? There is (almost) always several ways to do a thing.
by ghettocottage
Thu Sep 17, 2020 12:06 am
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 7
Views: 7661

Re: Use send for file cleanup?

You could just run a simple bash command on a cron every night to clean up files older than a day. Something like:

Code: Select all

       find /path/to/your/folder/*.jpg -type f -daystart -mtime +0 -exec rm {} \;  
by ghettocottage
Mon Sep 07, 2020 2:49 am
Forum: CGIs and the Server
Topic: Email Issue or Domain Issue?
Replies: 12
Views: 10557

Re: Email Issue or Domain Issue?

Glad you got it working.
I can run a query from my computer and see your MX record now:

Image
by ghettocottage
Thu Sep 03, 2020 6:55 pm
Forum: CGIs and the Server
Topic: Email Issue or Domain Issue?
Replies: 12
Views: 10557

Re: Email Issue or Domain Issue?

..I just want to re-iterate that changing nameservers can take up to a few days to completely propagate across the internet. If you make that change, things might start working in a few hours...and then stop working..then start working again. You just have to wait the full 3 days before you can real...

Go to advanced search