c++ - Are Unix multicast sockets thread safe? -


are unix multicast sockets thread safe?

depends on mean thread-safe. appears making calls send() @ same time separate threads not crash program, , data send across network.

the problem if message stretches across more 1 packet. packets may interleave , remote machine sort out 2 interleaved messages.

see: be careful sendmsg() family of functions got are parallel calls send/recv on same socket valid?.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -