[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setsockopt SO_RCVTIMEO question



Hi All

In a multithreaded program I use a socket for communication.  To detect 
failures I set a receive timeout with setsockopt(SO_RCVTIMEO).  Is this 
safe in a multithreaded program or is the timeout delivered using a 
signal?  Or are there now signals involved?

Thanks for clarification,
Marc