Hi Jens!
By the way it's still not working as I'd like it to work. It does what I said it does but there are still connections that I can't get rid off. I can't figure out what they are. They don't appear in the names list only in the return value of Count_Connections().
Count_Connections() counts all links that have a socket connected, including those that havn't sent a single valid command (NICK, USER) to the daemon and therefore arn't (jet) registered as client, server or whatever.
Probably you are seeing such "unregistered" connections?
Ah, and you should be able to "see" such connections in the output of the LUSERS command as "unknown connection(s)".
Regards Alex