Are parallel calls to send/recv on the same socket valid?

Posted by Jay on Stack Overflow See other posts from Stack Overflow or by Jay
Published on 2009-12-30T17:32:50Z Indexed on 2010/03/15 22:09 UTC
Read the original article Hit count: 140

Filed under:
|
|
  1. Can we call send from one thread and recv from another on the same socket?
  2. Can we call multiple sends parallely from different threads on the same socket?

I know that a good design should avoid this, but I am not clear how these system APIs will behave. I am unable to find a good documentation also for the same.

Any pointers in the direction will be helpful.

© Stack Overflow or respective owner

Related posts about c

    Related posts about socket