|
|
Subscribe / Log in / New account

Has anyone got recvmmsg to work

Has anyone got recvmmsg to work

Posted Mar 21, 2012 23:29 UTC (Wed) by gutschke (subscriber, #27910)
In reply to: Has anyone got recvmmsg to work by 4utomat
Parent article: In brief

Looking at the kernel sources, it appears that the final version of this system call includes a timeout parameter. If you don't pass this parameter, chances are that it gets set to a random value pointing to invalid memory. That probably explains why you get an EFAULT no matter what you pass in the other parameters.

If you don't want to specify a timeout, just pass NULL as an additional parameter. That should fix your program.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds