Peter Simons <[EMAIL PROTECTED]> writes: > >> [URIs might be the answer] > > > But what URI should represent e.g. unix datagram sockets? > > I don't think it's worth even trying to hide both stream- > and packet-oriented services behind the same API. These are > completely different things, treated them differently is > fine, IMHO.
But they don't differ in addressing. In BSD sockets the difference between streams and packets lies in "socket type", while addresses are split into "address families" which bijectively correspond to "protocol families". -- __("< Marcin Kowalczyk \__/ [EMAIL PROTECTED] ^^ http://qrnik.knm.org.pl/~qrczak/ _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell