Message235015
| Author |
pitrou |
| Recipients |
neologix, piotrjurkiewicz, pitrou |
| Date |
2015年01月30日.01:34:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1422581682.06.0.234996475716.issue23351@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The way socket timeouts are implemented is by using select() to determine whether the socket is ready for read/write. In this case, select() probably marks the socket ready even though the queue is full, which later raises EAGAIN.
About SO_SNDTIMEO and SO_RCVTIMEO, POSIX says "it is implementation-defined whether the SO_SNDTIMEO option can be set". Also, they would not necessarily apply to other operations such as accept(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年01月30日 01:34:42 | pitrou | set | recipients:
+ pitrou, neologix, piotrjurkiewicz |
| 2015年01月30日 01:34:42 | pitrou | set | messageid: <1422581682.06.0.234996475716.issue23351@psf.upfronthosting.co.za> |
| 2015年01月30日 01:34:42 | pitrou | link | issue23351 messages |
| 2015年01月30日 01:34:41 | pitrou | create |
|