5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/accept.html}
9 Portability problems fixed by Gnulib:
12 On Windows platforms (excluding Cygwin), the descriptors returned by
13 the @code{accept} function cannot be used in calls to @code{read},
14 @code{write}, and @code{close}; you have to use @code{recv}, @code{send},
15 @code{closesocket} in these cases instead.
17 On Windows platforms (excluding Cygwin), error codes for @code{accept}
18 are not placed in @code{errno}, and @code{WSAGetLastError} must be
22 Portability problems not fixed by Gnulib:
25 On BeOS, the descriptors returned by the @code{accept} function cannot be used
26 in calls to @code{read}, @code{write}, and @code{close}; you have to use
27 @code{recv}, @code{send}, @code{closesocket} in these cases instead.
29 Some platforms don't have a @code{socklen_t} type; in this case this function's
30 third argument type is @samp{int *}.
32 On some platforms, this function's third argument type is @samp{void *},
33 not @samp{socklen_t *}: