• Post Reply Bookmark Topic Watch Topic
  • New Topic

Are read/write on Socket/DatagramSocket atomic?

 
Victor Ho
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are read/write or send/receive operations on Socket/DatagramSocket atomic?
If multiple threads read/write on the same socket, will their data get mixed up?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!