sysapps / tcp-udp-sockets

Raw sockets API
85 stars 25 forks source link

Naming of API #42

Closed ClaesNilsson closed 10 years ago

ClaesNilsson commented 11 years ago
  • While we're talking nomenclature please don't use the term "raw" anywhere in this document. That is a well known networking term and it doesn't mean access to TCP and UDP interfaces - this was brought up to me by several folks at the IETF meeting who were confused about the applicability of this spec because of the use of the term raw sockets. (raw sockets generally give access to ethernet level framing in normal networking parlance) These are "transport level socket interfaces" or "tcp/udp sockets" or so on..

[Ke-Fong]: I agree with you. "Transport level socket" would the most appropriate term.

[Claes] Ok, yes I can see that "Transport level socket API" would probably be a better name but I guess that there will be many options on the appropriate name for this API :-). However, "Transport layer socket API" is probably more correct as the OSI model defines protocol "layers", not "levels".

anotherlin commented 11 years ago

Seems we found the perfect name as "Transport layer socket API" :)

nickdesaulniers commented 11 years ago

Or "Standard Sockets?"

ClaesNilsson commented 11 years ago

I will change the name to Transport Layer Socket API when the next Public Working Draft is issued.

marcoscaceres commented 11 years ago

Argh... bikeshed city, but that's a hard name to remember and google. I like "Standard Sockets" ... ftw.

ClaesNilsson commented 11 years ago

But even though there is a definition in Wikipedia of "Standard Sockets", http://en.wikipedia.org/wiki/Raw_socket#Raw_sockets_vs_standard_sockets, is that really a term that people associate with UDP and TCP sockets?

marcoscaceres commented 11 years ago

Probably not... then lets just call it "TPC and UDP Sockets"

AMorgaut commented 11 years ago

I wonder if it would not be much simpler to separate UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) which in fact are quite different, but "TPC and UDP Sockets" should work too.

I must admit I liked the naming used for UDP by Microsoft in its .NET API usable in JavaScript as it is quite explicit: -> DatagramSocket Class but maybe more people heard about UDP than Datagram.

ClaesNilsson commented 11 years ago

I can't think of anything that is clearer and makes people do the right assocation than one of the alternatives below:

TCP and UDP Socket API or UDP and TCP Socket API or even shorter UDP and TCP API

marcoscaceres commented 11 years ago

"TCP and UDP Socket API"

Nice and google-able :+1:

ClaesNilsson commented 10 years ago

Remains to change the short name. It is proposed to do that when the next publication takes place.

domenic commented 10 years ago

Sounds like this is settled, but just wanted to say thanks for choosing TCP/UDP instead of e.g. Net/Datagram. Node.js chose the latter and caused lots of unnecessary confusion.

ClaesNilsson commented 10 years ago

Fine :-)

ClaesNilsson commented 10 years ago

Fixed with https://github.com/sysapps/tcp-udp-sockets/pull/61