Socket API

Updated: April 19, 2023

The BSD Socket API is the standard API for TCP/IP programming in the UNIX world. In the Windows world, the Winsock API is based on and shares a lot with the BSD Socket API. This makes conversion between the two fairly easy.

The Socket API that io-sock uses has functions ported from FreeBSD as well as io-sock-specific functions. For more information, see the Socket API chapter.