I nkow aI haven't been online for a while, but I'm back now, if anyone cares, heh.
I was just wondering about something, I haven't been able to find this on the internet anywhere.
I have been writing some IRC Services, as I was last time, and I have heard about people laoding them into memory after laoding each one as a module. Finally I decided to try it, and I think yuo have to use dlopen(). I've read manual pages and everything I can find, but I'm not sure exactly how to go about it.
To explain a bit more of what I am talking about, say i have main.c and I compiled that, it connects to the IRC Daemon and does all the socket stuff, but each service, ChanServ, NickServ, etc, is a different module, a '.so' file. And instead of recompiling the entire program, I want to recompile the '.so' file, and then have a thing in the main.c or whatever to reload the module.
If that makes sense. Please, if anyone can give me any sites at all, I would be VERY appreciative. Perhaps I am looking up the wrong things, I don't know.
Thanks again,
Daniel Wallace