Questions of this sort should normally be directed to linux-net mailing list.
>From the code you quoted, I see at least one case where it will fail -- when the allocated buffer you pass to recvmsg is smaller than "value" (ie. the datagram is too big for the read buffer). If that's not the problem, I suggest you reproduce it with a small test case and post real code and results when it happens. +-DLS - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html