Re: modules

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Mon, 31 May 1999 15:40:27 -0600

On Tue, 1 Jun 1999, Dancer wrote:

> The port number is probably the simplest piece of the assorted network
> parameters to deal with seperately. Dummy addrinfo structures with port
> 0 and plug in the actual port later (before passing to connect).

Port -1 by default, please. Zero is a "valid" port number for some
interfaces. A negative port number can always be viewed as "undefined".

As for the modules, I think the best approach is to do it bit-by-bit. I bet
Duane will not be comfortable committing a huge patch with arguable
interface changes. I would suggest less changes at a time and only those
that target specific "interface users". In my experience, designing a
"complete" interface from scratch is a waste of time as it is usually
impossible to predict what minor hook-ups will be needed tomorrow. We are
not designing a standard C/C++ I/O library and have a luxury of tuning the
interface as need arises (some code might have to be rewritten, but that
should not be a big deal at early stages). Actually, even the standard I/O
libraries were significantly rewritten several times before the interface
became "standard".

Alex.
Received on Tue Jul 29 2003 - 13:15:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:09 MST