I’m planning out a science project, and I’m doing some research about sockets in various languages. Strangely enough, I cannot find whether C has sockets as part of some internal resource, or if the language requires an external library to use sockets. From what I’ve seen, I’m inclined to think that it is part of an internal resource, but I want to be sure.
Thanks for your time!
Sockets are specified by POSIX but not C by itself. Basically any modern operating system you’re likely to encounter except Windows is approximately POSIX-conformant. On Windows, the
WINSOCKlibrary provides a very poor substitute for standard POSIX sockets.