Re: Patch to support multiple interfaces...
Secure chat and conferencing protocol
Brought to you by:
priikone
From: Pekka R. <pri...@ik...> - 2002-05-28 12:20:02
|
: Hi, : : here we go... a patch to support multiple interfaces (both IPv4 and : IPv6). Server & Router work here on my local net... thou I tested not : extensivly. : : Some details about the patch: : : * in silcutil I added support for an fd parameter for the host_lookup : callback : * in serverconfig I added the config stuff described in my last mail : * in server(_backup) : - fixed config interface to use the new primary{} and secondary{} : - using fd instead of server->sock in accept_new_connection : - using passed throu fd in accept_new_connection_lookup : - added function silc_server_init_secondary which adds all secondary : listeners : I guess it's fine, except that I don't much like the interface change for the socket_host_lookup. The fd doesn't really belong there. Pekka ________________________________________________________________________ Pekka Riikonen priikone at silcnet.org Secure Internet Live Conferencing (SILC) http://silcnet.org/ |