| Blockland Forums > General Discussion |
| Kaphost Blockland Servers |
| << < (813/1314) > >> |
| aludane:
Kalphiter, what's your stance on dedicated servers having addons to connect to an external php page (My own test web-server) to post information? |
| Lugnut:
--- Quote from: aludane on July 22, 2012, 04:43:37 AM ---Kalphiter, what's your stance on dedicated servers having addons to connect to an external php page (My own test web-server) to post information? --- End quote --- dude i have a fully functioning webserver running in pure loving torquescript i've also dabbled in what you mentioned, although it was GET not POST he doesn't give a stuff, just as long as you don't forget up and leave the connection open, leaving a bigass hole that can't be filled by connections. uh what i'm saying is this - delete the client tcpobject once you're done |
| aludane:
--- Quote from: Lugnut on July 22, 2012, 12:57:37 PM ---dude i have a fully functioning webserver running in pure loving torquescript i've also dabbled in what you mentioned, although it was GET not POST he doesn't give a stuff, just as long as you don't forget up and leave the connection open, leaving a bigass hole that can't be filled by connections. uh what i'm saying is this - delete the client tcpobject once you're done --- End quote --- Ok thanks. I suppose 1-5 disconnects every 10 seconds at peak times is allowed? |
| Lugnut:
--- Quote from: aludane on July 22, 2012, 02:05:53 PM ---Ok thanks. I suppose 1-5 disconnects every 10 seconds at peak times is allowed? --- End quote --- doesn't matter. just don't leave the connection open. at least, i think that was the problem. i'm not sure. if you're running the equivalent of a webserver, you should be fine. |
| aludane:
--- Quote from: Lugnut on July 22, 2012, 02:17:28 PM ---doesn't matter. just don't leave the connection open. at least, i think that was the problem. i'm not sure. if you're running the equivalent of a webserver, you should be fine. --- End quote --- Yea I just implemented code to do an object delete on connection disconnect. --- Code: ---function CBALC::onDisconnect(%this) { echo("Disconnected, deleting TCPObject."); if(isobject(CBALC)) { CBALC.delete(); } } --- End code --- |
| Navigation |
| Message Index |
| Next page |
| Previous page |