Code: Select all
tag when posting logs, code
Using threading isn't the best idea too. Some shells admins may not be happy that a single process clones itself even for a short ammount of time.De Kus wrote:well, actually I was not planing on adding a new dns module... but in a threaded prozess you can lookup the host via gethostbyname, which is basicly the same what eggdrop does (and probably also the dns module does).
I havent thought on IPv6 support, but it shouldnt be that hard to implement ^-^.
real multithreading is not process cloning (which it used to be, long time ago, in early Linux implementations of POSIX threads)KrzychuG wrote:Using threading isn't the best idea too. Some shells admins may not be happy that a single process clones itself even for a short ammount of time.De Kus wrote:well, actually I was not planing on adding a new dns module... but in a threaded prozess you can lookup the host via gethostbyname, which is basicly the same what eggdrop does (and probably also the dns module does).
I havent thought on IPv6 support, but it shouldnt be that hard to implement ^-^.
Eggdrop DNS module doesn't use gethostbyname, it's a real DNS "client" but badly written, slow and not very expandale.
Code: Select all
tag when posting logs, code