[nanomsg] why memcpy data to be sent?

  • From: Steve Vinoski <vinoski@xxxxxxxx>
  • To: nanomsg <nanomsg@xxxxxxxxxxxxx>
  • Date: Sun, 26 Oct 2014 10:23:35 -0400

Someone asked this in the #nanomsg channel: why is data to be sent copied
first?

https://github.com/nanomsg/nanomsg/blob/master/src/core/global.c#L739-L747

--steve

Other related posts: