The function sctp_recvmsg do not block as it should.
Found this:
lakerest.net/pipermail/sctp-coders/2008-April/006112.html
" The msg_flags needs to be initialized. Its an in-out parameter and
thus its looked at. I have no idea what is in the msg_flags field when
you call it...
The missing init in UNP is my oversight combined with a bug
that was fixed in FreeBSD about a year ago (ie. it ignored msg_flags
on input).
"
This is apparently true on older Linux systems as well. Same code?
The function sctp_recvmsg do not block as it should.
Found this: lakerest.net/pipermail/sctp-coders/2008-April/006112.html
" The msg_flags needs to be initialized. Its an in-out parameter and thus its looked at. I have no idea what is in the msg_flags field when you call it...
The missing init in UNP is my oversight combined with a bug that was fixed in FreeBSD about a year ago (ie. it ignored msg_flags on input). "
This is apparently true on older Linux systems as well. Same code?