blob: e071a7c7855517934a287c1209b01d628f32170f [file] [edit]
@node bind
@subsection @code{bind}
@findex bind
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/bind.html}
Gnulib module: bind
@mindex bind
Portability problems fixed by Gnulib:
@itemize
@item
This function is declared in @code{<winsock2.h>}
instead of @code{<sys/socket.h>}
on some platforms:
mingw, MSVC 14.
@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize