One write-thread, one read-thread on the same socket?

Posted by Friedrich on Stack Overflow See other posts from Stack Overflow or by Friedrich
Published on 2010-05-11T07:18:49Z Indexed on 2010/05/11 7:24 UTC
Read the original article Hit count: 343

Filed under:
|

Hello,

i am running eCos with the FreeBSD TCP/IP-stack. Is it safe to have two threads running one to read from a socket and one to write to the same socket?

Well i guess since its the FreeBSD stack the operating system does not matter.

Best regards,

Friedrich

© Stack Overflow or respective owner

Related posts about socket

Related posts about threads