view doc/posix-functions/recvfrom.texi @ 38566:a9320246370f

doc: Clarify doc about socket functions on native Windows. This reworks doc that was added on 2008-09-29. * doc/posix-functions/select.texi: Fix copy-and-paste mistake and use clearer wording. * doc/posix-functions/accept.texi: Use clearer wording. * doc/posix-functions/bind.texi: Likewise. * doc/posix-functions/connect.texi: Likewise. * doc/posix-functions/getpeername.texi: Likewise. * doc/posix-functions/getsockname.texi: Likewise. * doc/posix-functions/getsockopt.texi: Likewise. * doc/posix-functions/ioctl.texi: Likewise. * doc/posix-functions/listen.texi: Likewise. * doc/posix-functions/recv.texi: Likewise. * doc/posix-functions/recvfrom.texi: Likewise. * doc/posix-functions/send.texi: Likewise. * doc/posix-functions/sendto.texi: Likewise. * doc/posix-functions/setsockopt.texi: Likewise. * doc/posix-functions/shutdown.texi: Likewise. * doc/posix-functions/socket.texi: Likewise.
author Bruno Haible <bruno@clisp.org>
date Thu, 11 May 2017 15:22:13 +0200
parents da850d547231
children 949bded754e0
line wrap: on
line source

@node recvfrom
@section @code{recvfrom}
@findex recvfrom

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/recvfrom.html}

Gnulib module: recvfrom

Portability problems fixed by Gnulib:
@itemize
@item
This function has the return type @code{int} instead of @code{ssize_t}
on some platforms:
OSF/1 5.1.
@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
@item
Some platforms don't have a @code{socklen_t} type; in this case this function's
sixth argument type is @samp{int *}.
@end itemize