Hello
What is the difference between MsgReceive() and MsgReceivev()?
I’ve looked in the Library Reference at
qnx.com/developer/docs/momen … about.html, but I can’t seem to find a difference.
Is there any?
Thanks!
Hello
What is the difference between MsgReceive() and MsgReceivev()?
I’ve looked in the Library Reference at
qnx.com/developer/docs/momen … about.html, but I can’t seem to find a difference.
Is there any?
Thanks!
Yes, one puts data into a single linear buffer and the other puts it into a set of iov’s (multiple buffers). The v means it uses iovs. The iov versions allow you to do neat things like appending header data to a payload without having to use a memcpy() to combine them yourself.
I recommend you the book:
Getting Started with QNX Neutrino 2 by Rob Krten.
It explains the difference with examples, too.