c - Does SO_RCVTIMEO affect accept()? -
does so_rcvtimeo
option affect accept
(causing return eagain
or ewouldblock
if timeout expires)? there behavior specified standard? can't find in documentation accept
or use of options:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/v2_chap02.html#tag_15_10_16
while on posix so_rcvtimeo defined "an input function", , so_sndtimeo defined "an output function", can'r find definition "input function" or "output function", i'll read/receive , write/send @ least.
in specific case of linux, so_rcvtimeo affects accept()
, can seen looking @ inet_csk_accept(), , so_snd_timeo affects connect()
, can seen looking @ tcp_sendmsg().
Comments
Post a Comment