Re: Patch to support multiple interfaces...
Secure chat and conferencing protocol
Brought to you by:
priikone
From: Jochen E. <joc...@gm...> - 2002-05-28 13:01:52
|
Hi, [Pekka Riikonen] > 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. johnny suggested added a local_port member to the SilcSocket struct, however this would require rewriting large parts to keep the whole thing consistent (the listening sockets are using the port member which is here refering to a local port for example). Furthermore, the fd contains more data than only the local port, which might be needed to check incoming connections in future extensions (i.e. to restrict certain connections to certain interfaces). regards -- jochen -- "I'd rather die before using Micro$oft Word" -- Donald E. Knuth (asked whether he'd reinvent TeX in the light of M$ Word) GnuGP public key for joc...@gm...: http://penguin-breeder.org/?page=sigs (0x8AEB7AE3) |