make syslogd able to send to multiple hosts when remote logging

Andreas Wehrmann a_wehrmann at hotmail.com
Thu Jan 22 08:55:26 UTC 2009


> Hello, Andreas!
> 
> > All that is to do is to specify "-R" multiple times; current limit is eight hosts.
> 
> Why limit? llist is unlimited.
> 
> May be convert the loops into:
> 
> for (llist_t *i = G.remoteAddrList; i; i = i->link) {
>    // work on i->data here
> }
> 
> Regards,
> --
> Vladimir

Hello Vladimir!

I think I see your point, but how about the socket descriptor and the sockaddr structures?
They need to be saved/existent for every Host specified and I currently did so by using fixed-sized arrays.

Or is your idea to define a new structure which embeds this information and use this structure in a list to work off?

Regards,

Andreas


_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20090122/efd3ad39/attachment.htm 


More information about the busybox mailing list