philpraxis/pysctp — pull request #11 by di98jgu (2013-02-05 18:39:16+00:00)
Title: _sctp.c - flags should be 0

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?