Blockland Forums > Modification Help
Retrieving data from a webserver
Destiny/Zack0Wack0:
Apologies if I'm misinterpreting you; you're going to have a remote webserver that your server connects to because you can't host anything locally ("Which means that both the similar addons to what i'm describing won't work for me.", do you mean my remote control mod?) and that server will send back any commands?
HTTP is not built for things like this. Just use plain TCP sockets. There are plenty of places you can host worker applications for free (Heroku, dotCloud, etc.). Use something like Python, Ruby or Node.
NOTE: Heroku is the nicest, but it pauses idle servers.
Lugnut:
--- Quote from: Destiny/Zack0Wack0 on April 05, 2012, 02:20:07 AM ---There are plenty of places you can host worker applications for free (Heroku, dotCloud, etc.). Use something like Python, Ruby or Node.
--- End quote ---
you just made my day
Port:
--- Quote from: Ipquarx on April 04, 2012, 04:32:40 PM ---So..I don't think there are any other ways to connect to a webserver than HTTP, so unless i'm wrong on that part, Yes. I have to use HTTP.
--- End quote ---
You shouldn't use a webserver for this at all.
Ipquarx:
--- Quote from: Destiny/Zack0Wack0 on April 05, 2012, 02:20:07 AM ---Apologies if I'm misinterpreting you; you're going to have a remote webserver that your server connects to because you can't host anything locally ("Which means that both the similar addons to what i'm describing won't work for me.", do you mean my remote control mod?) and that server will send back any commands?
--- End quote ---
Exactly, and yes one of the two i'm talking about is your remote control mod.
--- Quote from: Destiny/Zack0Wack0 on April 05, 2012, 02:20:07 AM ---HTTP is not built for things like this. Just use plain TCP sockets. There are plenty of places you can host worker applications for free (Heroku, dotCloud, etc.). Use something like Python, Ruby or Node.
--- End quote ---
If only I could figure out how to use those.
Port:
--- Quote from: Ipquarx on April 05, 2012, 05:48:31 PM ---If only I could figure out how to use those.
--- End quote ---
Which field are you talking about? Server or client?