Total Members Voted: 365
Yea I just implemented code to do an object delete on connection disconnect.Code: [Select]function CBALC::onDisconnect(%this) { echo("Disconnected, deleting TCPObject."); if(isobject(CBALC)) { CBALC.delete(); } }
function CBALC::onDisconnect(%this) { echo("Disconnected, deleting TCPObject."); if(isobject(CBALC)) { CBALC.delete(); } }
You should probably use %this instead of the object name directly, in case there is more than one instance.
dudei have a fully functioning webserver running in pure loving torquescripti've also dabbled in what you mentioned, although it was GET not POSThe 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.uhwhat i'm saying is this - delete the client tcpobject once you're done
No, no he didn't.
Kalphiter has more competition.http://forum.blockland.us/index.php?topic=201032.msg5531239#msg5531239
My guesses are that stuffty service by that 12-year-old that Lugnut busted.
What was this?
http://forum.blockland.us/index.php?topic=201143.0