Australis wrote:Hello,
my english is not really good, but I try my best...
The situation:
I'm IRCop and Webmaster of a small IRC-Network, and I want to establish a bot-farm with a few eggdrop-bots with serval enhancements... so far so good.
I need a Webinterface for our users are able to login using their (in a mysql stored) nickserv logindata and make one or more of bots join their own channel...
My profession is PHP-developer, so a complete webinterface is not really needed, but at least I need a way to make php possible to send (quickly) commands to an eggdrop-bot (without that long-time-taking login to telnet-partyline)
Your options in this case would be to create a listening-socket coupled with a controller, providing the mechanisms you need. To be honest however, I doubt this would provide much performance over "telnet", as you'd still be communicating over tcp sockets. The advantage would mostly be a connection with a (by you) well-defined protocol rather than the human-readable text-interface of the telnet-connection.
Other options for IPC are rather limited, at most extending to standard process signals to force rehashes and kills, and polling files..
By coding custom eggdrop modules, you could achieve some support for Unix domain sockets, udp packets, and possibly named pipes.