errno == EMSGSIZE with recvmsg() on a UNIX Domain Socket
errno == EMSGSIZE with recvmsg() on a UNIX Domain Socket
- Subject: errno == EMSGSIZE with recvmsg() on a UNIX Domain Socket
- From: Dan Duong <email@hidden>
- Date: Wed, 12 Oct 2011 18:29:05 -0700
I hit a place in my code where recvmsg() fails with errno == EMSGSIZE. According to the docs, it seems this is only the case if msg.ioveclen <= 0 or > MAX_IOVEC. Are there any other cases where this can occur? As far as I can tell, I am always setting ioveclen = 1.
Thanks,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden