5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/accept.html}
7 Gnulib module: sys_socket
9 Portability problems fixed by Gnulib:
12 On Windows platforms (excluding Cygwin), the descriptors returned by
13 the @code{accept} function can not 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} are not
18 placed in @code{errno}, and @code{WSAGetLastError} must be used instead.
21 Portability problems not fixed by Gnulib:
24 On BeOS, the descriptors returned by the @code{accept} function can not be used
25 in calls to @code{read}, @code{write}, and @code{close}; you have to use
26 @code{recv}, @code{send}, @code{closesocket} in these cases instead.
28 Some platforms don't have a @code{socklen_t} type; in this case this function's
29 third argument type is @samp{int *}.