Skip to main content
replaced https://tools.ietf.org/html/rfc with https://www.rfc-editor.org/rfc/rfc
Source Link
  1. TCP-IP Illustrated Volume 1 The Protocols, W. Richard Stevens, 1994 Addison Wesley

  2. RFC793, Information Sciences Institute, University of Southern California for DARPA

  3. RFC147RFC147, The Definition of a Socket, Joel M. Winett, Lincoln Laboratory

  1. TCP-IP Illustrated Volume 1 The Protocols, W. Richard Stevens, 1994 Addison Wesley

  2. RFC793, Information Sciences Institute, University of Southern California for DARPA

  3. RFC147, The Definition of a Socket, Joel M. Winett, Lincoln Laboratory

  1. TCP-IP Illustrated Volume 1 The Protocols, W. Richard Stevens, 1994 Addison Wesley

  2. RFC793, Information Sciences Institute, University of Southern California for DARPA

  3. RFC147, The Definition of a Socket, Joel M. Winett, Lincoln Laboratory

replaced http://tools.ietf.org/html/rfc with https://www.rfc-editor.org/rfc/rfc
Source Link
  1. TCP-IP Illustrated Volume 1 The Protocols, W. Richard Stevens, 1994 Addison Wesley

  2. RFC793RFC793, Information Sciences Institute, University of Southern California for DARPA

  3. RFC147, The Definition of a Socket, Joel M. Winett, Lincoln Laboratory

  1. TCP-IP Illustrated Volume 1 The Protocols, W. Richard Stevens, 1994 Addison Wesley

  2. RFC793, Information Sciences Institute, University of Southern California for DARPA

  3. RFC147, The Definition of a Socket, Joel M. Winett, Lincoln Laboratory

  1. TCP-IP Illustrated Volume 1 The Protocols, W. Richard Stevens, 1994 Addison Wesley

  2. RFC793, Information Sciences Institute, University of Southern California for DARPA

  3. RFC147, The Definition of a Socket, Joel M. Winett, Lincoln Laboratory

added 539 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147

@plugwash makes a salient observation.

The fundamental problem is that the TCP RFC definition of socket is in conflict with the defintion of socket used by all major operating systems and libraries.

By definition the RFC is correct. When a library misuses terminology, this does not supersede the RFC. Instead, it imposes a burden of responsibility on users of that library to understand both interpretations and to be careful with words and context. Where RFCs do not agree, the most recent and most directly applicable RFC takes precedence.

@plugwash makes a salient observation.

The fundamental problem is that the TCP RFC definition of socket is in conflict with the defintion of socket used by all major operating systems and libraries.

By definition the RFC is correct. When a library misuses terminology, this does not supersede the RFC. Instead, it imposes a burden of responsibility on users of that library to understand both interpretations and to be careful with words and context. Where RFCs do not agree, the most recent and most directly applicable RFC takes precedence.

Updated the IP Address in this article so that it matches the IP address in the example
Source Link
Loading
two typos fixed
Source Link
FrankS101
  • 2.1k
  • 6
  • 27
  • 42
Loading
added 603 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 190 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 1096 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
Restored original intent and clarified it.
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 4 characters in body
Source Link
dss539
  • 6.9k
  • 2
  • 37
  • 65
Loading
added 70 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
Rollback to Revision 15
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
"Porte" isn't the french translation for "Port" :)
Source Link
Loading
added 146 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 146 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
Changed phrasing
Source Link
Gordon Bailey
  • 3.9k
  • 22
  • 29
Loading
added 2 characters in body; Post Made Community Wiki
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 11 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 14 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 247 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 771 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
References
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
added 12 characters in body
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading
Wording
Source Link
Peter Wone
  • 18.7k
  • 14
  • 94
  • 147
Loading