socket
======

POSIX specification: http://www.opengroup.org/susv3xsh/socket.html

Gnulib module: socket

Portability problems fixed by Gnulib:

  * On Windows platforms (excluding Cygwin), the descriptors returned by the socket function can not 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 socket function can not be used in calls to read, write, and close; you have to use recv, send, closesocket in these cases instead.