Ofloo wrote:and that bind !hello is wrapped with a class ..
Just unwrap it then. What you get is the woobie module except that you use "!hello"
For C modules just check the other eggdrop modules - it's really not that hard...
Actually it has nothing to do with "worst case" scenario. Think about it like that: The core already is a distinct thread. You want to have a second thread access its data. You can neither read nor write its data without lock/guard. Reading might result in reading incomplete data. Writing ...
Uhm honestly I can't see any benefit in trying to do some "new network module". @De Kus: Could you try to explain a bit more in detail what you want and what is not working as expected? Did you mix C/POSIX Sockets & Tcl "buzzwords" in your first post? Anyway if you want to us...
I think it could be difficult as windrop is built with Cygwin/GCC.
You'd need a Cygwin/GCC version of the client library of mysql.
The library that ships with mysql for windows is not build with GCC and thus does not work.
Nevertheless, I think I might change to the "use-tcl-sockets-for-IPC" approach De Kus mentioned.
Just "feels" better than polling some queue once a second.