Joey,
Back in May 2004, Andries already added new text to cover
SO_RCVTIME and SO_SNDTIMEO. Why are these bug reports
still open? (Please close them.)
Andries wrote the following:
SO_RCVTIMEO and SO_SNDTIMEO
Specify the receiving or sending timeouts until
reporting an error. The parameter is a struct
timeval. If an input or output function blocks for
this period of time, and data has been sent or
received, the return value of that function will be
the amount of data transferred; if no data has been
transferred and the timeout has been reached then
-1 is returned with errno set to EAGAIN or EWOULD-
BLOCK just as if the socket was specified to be
nonblocking. If the timeout is set to zero (the
default) then the operation will never timeout.
Cheers,
Michael
--
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7
Want to help with man page maintenance? Grab the latest
tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/
and grep the source files for 'FIXME'.
Please submit non-trivial man page suggestions as
diff -u patches.
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden testen ++ http://www.gmx.net/de/go/promail ++
--
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden testen ++ http://www.gmx.net/de/go/promail ++
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]