Skip to contentSkip to conversation

Undocumented behaviour of connect() with SO_SNDTIMEO

Bug 14723 bugzilla-daemon-590EEB7GvNiWaY/[email protected] 1 participant 2 messages Sep 10, 2013 – Dec 10, 2013 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=14723

Jorge Nerín <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Jorge Nerín <[email protected]> --- From man-pages-3.51 socket(7):

SO_RCVTIMEO and SO_SNDTIMEO
Specify the receiving or sending timeouts until reporting an
error. The
argument 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 EWOULDBLOCK, or
EINPROGRESS (for
connect(2)) 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. Timeouts only have effect for system calls that perform
socket

              I/O (e.g., read(2), recvmsg(2), send(2), sendmsg(2)); timeouts 

have no
effect for select(2), poll(2), epoll_wait(2), and so on.

I think this bug can be closed.

Signature · 5 lines
You are receiving this mail because:
You are watching the assignee of the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=14723

Alan <alan-qBU/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |alan-qBU/[email protected]
         Resolution|---                         |CODE_FIX
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html