![]() |
new code for the daemon :) - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: new code for the daemon :) (/thread-993.html) |
new code for the daemon :) - raphael - 07-18-2007 01:25 PM I'm just about to commit some more changes I just made to the code. Within those changes there is some new code for the daemon ![]() The new version doesn't include new features but to allow to say helo and then bye (instead of the old behaviour that required to say: helo, execute query, bye). I've also tried to clean up the code and the Makefiles so it should be easier to understand now. Just for the record: Quote:$ telnet localhost 9876and Quote:$ telnet localhost 9876 RE: new code for the daemon :) - BeNe - 07-18-2007 03:46 PM Cool ![]() Good work raphael. RE: new code for the daemon :) - joximu - 07-18-2007 08:45 PM Hi raphael With this change an extension of the "Port 9876 Protocol" is not possible anymore. If there are no plans to ever add new commands to the handshake it's fine. On the other side this Code: execute query Well, since there are plans to completely start a new modular control panel thing (ispcp not omega) - this change cannot be so bad :-) /Cheers (sorry, I'm very busy at the moment, but I hope to find some time for ticket 387) RE: new code for the daemon :) - raphael - 07-19-2007 02:36 AM joximu Wrote:With this change an extension of the "Port 9876 Protocol" is not possible anymore.what do you mean? joximu Wrote:it does what is has always been doing: run the requests manager Just to clarify: there's no need to manually connect to the daemon, the GUI does this when required. RE: new code for the daemon :) - joximu - 07-19-2007 05:09 AM raphael Wrote:joximu Wrote:With this change an extension of the "Port 9876 Protocol" is not possible anymore.what do you mean? Yes, I know. I just imagined, maybe there could be a way to say: "execute query" - this runs the actual code. Or we could expand the "protocol" and say "execute another query" - and then some very useful thing is done which cannot be put into the database of today... But - no problem. I think it's not needed to create a more sophisticated protocol :-) so - connect and disconnect (more ore less) is enough to start the request manager... :-) Cheers RE: new code for the daemon :) - raphael - 07-19-2007 05:36 AM joximu Wrote:The problem with that is that anyone can connect to the daemon so anyone would be able to run a queryraphael Wrote:joximu Wrote:With this change an extension of the "Port 9876 Protocol" is not possible anymore.what do you mean? RE: new code for the daemon :) - joximu - 07-19-2007 08:13 AM raphael Wrote:The problem with that is that anyone can connect to the daemon so anyone would be able to run a query yeah, that's why it's maybe better not to build a big system on this base... ms would do that - because of the compatibility :-))) RE: new code for the daemon :) - raphael - 07-19-2007 08:43 AM joximu Wrote:yeah, that's why it's maybe better not to build a big system on this base... some parts can be kept... and some others only need to cleaned up ![]() RE: new code for the daemon :) - ibiza4000 - 07-21-2007 12:46 PM raphael excellent work with the daemon!! its good to see some time being spent on the daemon |