Quote:
Originally Posted by
expl
recv() is capable to timeout as it uses select syscall internally and timeout is configured with setsockopt(), putting one more select call in front just adds overhead.
Quoting yourself: I have a feeling that you have no idea what you are talking about
Not all systems support SO_RCVTIMEO, so this last statement obviously doesn't make sense...
Your reasoning is excellent, but your basic assumptions are off. If you read carefully my posts, I just mentioned that it is possible to block on a socket, while sending data, since TCP is full-duplex. Nothing more, nothing less.
And even if people err (I personally do), I don't feel the need to treat them "maroons that have no idea about what they're talking about". We're all here to learn, and this can be achieved in a respectful way.
Just my 2c,
Loïc