Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sock_sendmbuf fail with EMSGSIZE (40)



Hi, All,

Currently, I am writing a kernel driver using kpi_socket to build a pipe sending audio samples back to user space. (In kernel side, it is a pipe client instead of listener)
For most of the times, packages can be successfully sent to user space without problem. But, sometimes, it fails with errno 40 (EMSGSIZE).
And as soon as it starts failing with that error, the following sending will all fail with that error, no matter how big is the package (even those very small packages with only 8 bytes).
I have been searching over the Internet for quite a while and haven't find the answer yet.


Does anyone know this?

Thanks a lot!
John H.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.