12 May
2005
12 May
'05
5:05 p.m.
Peter Simons <simons@cryp.to> 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 \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/