[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setsockopt SO_RCVTIMEO question
- To: misc@openbsd.org
- Subject: setsockopt SO_RCVTIMEO question
- From: Marc Balmer <marc@msys.ch>
- Date: Sat, 29 Nov 2003 13:30:25 +0100
- User-Agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.4) Gecko/20031001
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