comparison doc/posix-functions/socket.texi @ 30233:8bf8bbba1c84

documentation update for mingw socket functions 2008-08-24 Paolo Bonzini <bonzini@gnu.org> * doc/posix-functions/accept.texi: Update mingw problems. * doc/posix-functions/bind.texi: Update mingw problems. * doc/posix-functions/close.texi: Update mingw problems. * doc/posix-functions/connect.texi: Update mingw problems. * doc/posix-functions/getpeername.texi: Update mingw problems. * doc/posix-functions/getsockname.texi: Update mingw problems. * doc/posix-functions/getsockopt.texi: Update mingw problems. * doc/posix-functions/ioctl.texi: Update mingw problems. * doc/posix-functions/listen.texi: Update mingw problems. * doc/posix-functions/recv.texi: Update mingw problems. * doc/posix-functions/recvfrom.texi: Update mingw problems. * doc/posix-functions/select.texi: Update mingw problems. * doc/posix-functions/send.texi: Update mingw problems. * doc/posix-functions/sendto.texi: Update mingw problems. * doc/posix-functions/setsockopt.texi: Update mingw problems. * doc/posix-functions/socket.texi: Update mingw problems.
author Paolo Bonzini <bonzini@gnu.org>
date Mon, 29 Sep 2008 13:23:50 +0200
parents 8cd0f07812b0
children 43282f926709
comparison
equal deleted inserted replaced
30232:93e5702f1344 30233:8bf8bbba1c84
2 @section @code{socket} 2 @section @code{socket}
3 @findex socket 3 @findex socket
4 4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/socket.html} 5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/socket.html}
6 6
7 Gnulib module: --- 7 Gnulib module: sys_socket
8 8
9 Portability problems fixed by Gnulib: 9 Portability problems fixed by Gnulib:
10 @itemize 10 @itemize
11 @item
12 On Windows platforms (excluding Cygwin), the descriptors returned by
13 the @code{socket} 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.
16 @item
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.
11 @end itemize 19 @end itemize
12 20
13 Portability problems not fixed by Gnulib: 21 Portability problems not fixed by Gnulib:
14 @itemize 22 @itemize
15 @item 23 @item
16 This function is missing on some platforms:
17 mingw.
18 @item
19 On BeOS, the descriptors returned by the @code{socket} function can not be used 24 On BeOS, the descriptors returned by the @code{socket} function can not be used
20 in calls to @code{read}, @code{write}, and @code{close}; you have to use 25 in calls to @code{read}, @code{write}, and @code{close}; you have to use
21 @code{recv}, @code{send}, @code{closesocket} in these cases instead. 26 @code{recv}, @code{send}, @code{closesocket} in these cases instead.
22 @end itemize 27 @end itemize