Doubt about sockets

Vinu Rajashekhar vinutheraj at
Tue Jun 22 16:03:11 UTC 2010

>From the networking documentation, it seems that one cannot
share the same socket across threads/tasks for the same operation, like
read or write.

What is the exact problem if I use the same socket to write something
across different threads, is data corruption the only problem? More
if I have run a select call on a socket, and if I write something into the
from different threads, does the select wakeup for sure ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list