The socket library is part of the Ruby standard library. Similar to libraries such as openssl, zlib and curses, the socket library has a thin binding relationship with the C language library it depends on. The socket library has been stable in multiple Ruby releases.
[Add]Jesse Storimer. TCP Sockets Programming (Turing Programming Series) (Kindle Locations 137-141). People's Posts and Telecommunications Press. Kindle Edition.
What does thin binding
mean here?
What is the relationship between the socket library of high-level languages and the socket of the operating system?
"Thin package".
The socket library of high-level languages calls the socket interface of the operating system (through the C library or directly).