9.14 accept

On Windows platforms (excluding Cygwin), the descriptors returned by
the accept function cannot be used in calls to read,
write, and close; you have to use recv, send,
closesocket in these cases instead.

On Windows platforms (excluding Cygwin), error codes for accept
are not placed in errno, and WSAGetLastError must be
used instead.

Portability problems not fixed by Gnulib:

On BeOS, the descriptors returned by the accept function cannot be used
in calls to read, write, and close; you have to use
recv, send, closesocket in these cases instead.

Some platforms don’t have a socklen_t type; in this case this function’s
third argument type is ‘int *’.

On some platforms, this function’s third argument type is ‘void *’,
not ‘socklen_t *’:
Solaris 10.